1
0
Fork 0

use other config

This commit is contained in:
gluzzati 2024-03-21 23:01:18 +00:00
parent 231876e794
commit bff8c77164
2 changed files with 5 additions and 1 deletions

View File

@ -20,6 +20,11 @@ const configVariables: ConfigVariables = {
defaultValue: "http://localhost:3000",
secret: false,
},
webroot: {
type: "string",
defaultValue: "",
secret: false,
},
showHomePage: {
type: "boolean",
defaultValue: "true",

View File

@ -20,6 +20,5 @@ module.exports = withPWA({
},
serverRuntimeConfig: {
apiURL: process.env.API_URL ?? 'http://localhost:8080',
webroot: process.env.WEBROOT ?? '',
},
});