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