Add url & admin url to env

This commit is contained in:
2020-12-20 18:41:33 +01:00
parent 6ab27d6185
commit fa2b9a0d8b
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -7,4 +7,6 @@ MONGO_DB=strapi
MONGO_USER=
MONGO_PASSWORD=
AUTHENTICATION_DATABASE=
AUTHENTICATION_DATABASE=
STRAPI_URL=
STRAPI_ADMIN_URL=
+2 -2
View File
@@ -1,9 +1,9 @@
module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
url: 'https://api.o-k-i.net',
url: env('STRAPI_URL', null),
admin: {
url: '/oki-dashboard',
url: env('STRAPI_ADMIN_URL', null),
auth: {
secret: env('ADMIN_JWT_SECRET', '71b106d7b2a4853774b0b27424b77097'),
},