-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
42 lines (38 loc) · 1.56 KB
/
next.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/** @type {import('next').NextConfig} */
const prod = process.env.NODE_ENV === "production";
// eslint-disable-next-line @typescript-eslint/no-var-requires
const withPWA = require("next-pwa")({
dest: "public",
register: true,
skipWaiting: true,
disable: !prod,
});
module.exports = withPWA({
reactStrictMode: true,
env: {
// ********* PRIVATE ********* //
PRIVATE_ETHEREUM_RPC: process.env.PRIVATE_ETHEREUM_RPC,
PRIVATE_OPTIMISM_RPC: process.env.PRIVATE_OPTIMISM_RPC,
PRIVATE_ARBITRUM_ONE_RPC: process.env.PRIVATE_ARBITRUM_ONE_RPC,
PRIVATE_POLYGON_RPC: process.env.PRIVATE_POLYGON_RPC,
PRIVATE_GNOSIS_RPC: process.env.PRIVATE_GNOSIS_RPC,
PRIVATE_CELO_RPC: process.env.PRIVATE_CELO_RPC,
PRIVATE_AVALANCHE_RPC: process.env.PRIVATE_AVALANCHE_RPC,
PRIVATE_FANTOM_RPC: process.env.PRIVATE_FANTOM_RPC,
PRIVATE_BSC_RPC: process.env.PRIVATE_BSC_RPC,
PRIVATE_BASE_RPC: process.env.PRIVATE_BASE_RPC,
PRIVATE_SCROLL_RPC: process.env.PRIVATE_SCROLL_RPC,
PRIVATE_SEPOLIA_RPC: process.env.PRIVATE_SEPOLIA_RPC,
PRIVATE_OPTIMISM_SEPOLIA_RPC: process.env.PRIVATE_OPTIMISM_SEPOLIA_RPC,
PRIVATE_POLYGON_MUMBAI_RPC: process.env.PRIVATE_POLYGON_MUMBAI_RPC,
WC_PROJECT_ID: process.env.WC_PROJECT_ID,
// ********* PUBLIC ********* //
APP_URL: "https://xsafe.chainrule.io",
GITHUB_URL: "https://github.com/chainrule-labs",
TWITTER_URL: "https://twitter.com/chainrule_io",
TELEGRAM_URL: "https://t.me/xsafe_support",
DOCS_URL: "https://docs.xsafe.chainrule.io",
FAQ_URL: "https://docs.xsafe.chainrule.io/references/faq",
CHAIN_RULE_URL: "https://chainrule.io",
},
});