-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
36 lines (35 loc) · 1.06 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
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
serverRuntimeConfig: {
secret: process.env.NEXTAUTH_SECRET,
nextauth: {
client_name: process.env.CLIENT_NAME,
client_nameid: process.env.CLIENT_NAME_ID,
client_id: process.env.CLIENT_ID,
client_secret: process.env.CLIENT_SECRET,
client_authorization_url: process.env.CLIENT_AUTHORIZATION_URL,
client_token_url: process.env.CLIENT_TOKEN_URL,
client_userinfo_url: process.env.CLIENT_USERINFO_URL,
},
orc: {
url: process.env.ORC_API_URL,
token: process.env.ORC_API_TOKEN,
},
pterodactyl: {
url: process.env.PTERODACTYL_URL,
client_key: process.env.PTERODACTYL_CLIENT_KEY,
application_key: process.env.PTERODACTYL_APPLICATION_KEY,
},
},
publicRuntimeConfig: {
game_enabled: process.env.GAME_ENABLED,
vm_enabled: process.env.VM_ENABLED,
url: process.env.URL,
pterodactyl: {
url: process.env.PTERODACTYL_URL,
},
},
//output: "standalone",
};
module.exports = nextConfig;