use other config
This commit is contained in:
parent
231876e794
commit
bff8c77164
|
@ -20,6 +20,11 @@ const configVariables: ConfigVariables = {
|
|||
defaultValue: "http://localhost:3000",
|
||||
secret: false,
|
||||
},
|
||||
webroot: {
|
||||
type: "string",
|
||||
defaultValue: "",
|
||||
secret: false,
|
||||
},
|
||||
showHomePage: {
|
||||
type: "boolean",
|
||||
defaultValue: "true",
|
||||
|
|
|
@ -20,6 +20,5 @@ module.exports = withPWA({
|
|||
},
|
||||
serverRuntimeConfig: {
|
||||
apiURL: process.env.API_URL ?? 'http://localhost:8080',
|
||||
webroot: process.env.WEBROOT ?? '',
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue