Add STRAPI_URL to server config

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-11-10 01:37:03 +04:00
parent 43fd9c9681
commit 2d13f3b1de
+1
View File
@@ -3,6 +3,7 @@ const cronTasks = require("./cron-task");
module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
url: env('STRAPI_URL', 'http://localhost:1337'),
app: {
keys: env.array('APP_KEYS'),
},