-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
9 changed files
with
3,917 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* PAGES */ | ||
export enum PAGE { | ||
LANDING = '/', | ||
ADDRESS = '/address', | ||
ACTOR = '/actor', | ||
MESSAGE = '/message' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,24 +24,28 @@ const webpack = (config) => { | |
module.exports = (phase) => { | ||
if (phase === PHASE_PRODUCTION_SERVER || phase === PHASE_PRODUCTION_BUILD) { | ||
return { | ||
trailingSlash: true, | ||
webpack, | ||
env: { | ||
// this api is configured to be load balanced across multiple nodes, | ||
// if a single node gets sick, it will get dropped and not accept requests | ||
NEXT_PUBLIC_LOTUS_NODE_JSONRPC: | ||
process.env.LOTUS_NODE_JSONRPC || 'https://mainnet.glif.host', | ||
process.env.LOTUS_NODE_JSONRPC || 'https://calibration.node.glif.io', | ||
NEXT_PUBLIC_GRAPH_API_URL: | ||
process.env.GRAPH_API_URL || 'graph.glif.host/query', | ||
// 461' | ||
NEXT_PUBLIC_COIN_TYPE: process.env.COIN_TYPE || 'f', | ||
NEXT_PUBLIC_COIN_TYPE: process.env.COIN_TYPE || 't', | ||
NEXT_PUBLIC_IS_PROD: true, | ||
|
||
NEXT_PUBLIC_SENTRY_DSN: process.env.SENTRY_DSN, | ||
NEXT_PUBLIC_SENTRY_ENV: process.env.SENTRY_ENV | ||
NEXT_PUBLIC_SENTRY_DSN: | ||
process.env.SENTRY_DSN || | ||
'https://[email protected]/6187874', | ||
NEXT_PUBLIC_SENTRY_ENV: process.env.SENTRY_ENV || 'calibration' | ||
} | ||
} | ||
} | ||
return { | ||
trailingSlash: true, | ||
webpack, | ||
env: { | ||
NEXT_PUBLIC_LOTUS_NODE_JSONRPC: | ||
|
Oops, something went wrong.