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