feat: configure ports, db url and api url with env variables

This commit is contained in:
Elias Schneider
2023-04-25 23:39:57 +02:00
parent b33c1d7f4b
commit e5071cba12
6 changed files with 17 additions and 8 deletions

View File

@@ -19,4 +19,7 @@ module.exports = withPWA({
output: "standalone", env: {
VERSION: version,
},
serverRuntimeConfig: {
apiURL: process.env.API_URL ?? 'http://localhost:8080',
},
});