forked from bepronetwork/landing-page
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnext.config.js
33 lines (32 loc) · 1.51 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
/** @type {import('next').NextConfig} */
const nextConfig = {
publicRuntimeConfig: {
baseUrl: process.env.BASE_URL || 'localhost:3000',
blogSource: process.env.BLOG_SLUG || 'BEPRO',
blogUrl: process.env.BLOG_URL || 'https://blog.bepro.network',
imageProxyUrl: process.env.IMAGE_PROXY_URL || '',
pillAlertStatus: process.env.PILL_ALERT_STATUS || 'New',
pillAlertLabel: process.env.PILL_ALERT_LABEL || 'Version 2.0 is live!',
pillAlertUrl: process.env.PILL_ALERT_URL || 'https://app.bepro.network',
webnetUrl: process.env.WEBNET_URL || 'https://app.bepro.network',
robots: process.env.ROBOTS || 'false',
gaDisabled: process.env.GA_DISABLED || 'true',
gaDebug: process.env.GA_DEBUG || 'false',
gaProperty: process.env.GA_PROPERTY || '',
backendGraphql: process.env.BACKEND_GRAPHQL || 'http://localhost:4444/api/graphql',
buyToken: process.env.BUY_TOKEN || 'false',
imageProxyKey: process.env.IMAGE_PROXY_KEY || '',
imageProxySalt: process.env.IMAGE_PROXY_SALT || '',
grantApplicationUrl: process.env.GRANT_APPLICATION_URL || 'https://tally.so/r/wvY9yD',
demoRequestUrl: process.env.DEMO_REQUEST_URL || 'https://tally.so/r/mK1jyg',
},
serverRuntimeConfig: {
sendgridApiKey: process.env.SENDGRID_API_KEY || '',
sendgridListId: process.env.SENDGRID_LIST_ID || '',
transakApiKey: process.env.TRANSAK_API_KEY || '',
transakEnvironment: process.env.TRANSAK_ENVIRONMENT || 'STAGING',
},
reactStrictMode: true,
swcMinify: true,
};
module.exports = nextConfig;