Add URL env variable
This commit is contained in:
@@ -5,3 +5,4 @@ API_TOKEN_SALT=tobemodified
|
|||||||
ADMIN_JWT_SECRET=tobemodified
|
ADMIN_JWT_SECRET=tobemodified
|
||||||
TRANSFER_TOKEN_SALT=tobemodified
|
TRANSFER_TOKEN_SALT=tobemodified
|
||||||
JWT_SECRET=tobemodified
|
JWT_SECRET=tobemodified
|
||||||
|
URL=http://localhost:1337
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
module.exports = ({ env }) => ({
|
module.exports = ({ env }) => ({
|
||||||
host: env('HOST', '0.0.0.0'),
|
host: env('HOST', '0.0.0.0'),
|
||||||
port: env.int('PORT', 1337),
|
port: env.int('PORT', 1337),
|
||||||
|
url: env('URL', 'http://localhost:1337'),
|
||||||
app: {
|
app: {
|
||||||
keys: env.array('APP_KEYS'),
|
keys: env.array('APP_KEYS'),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user