fix: configure Strapi public URL to prevent Gateway Timeout on publish

This commit is contained in:
dimitar committed 2026-02-27 16:18:24 +01:00
1 parent 4a22e8a18a
commit d7281024bf
3 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -20,6 +20,6 @@ export default ({ env }) => ({
// Specify the build directory path for production
path: env('ADMIN_PATH', '/admin'),
build: {
backend: env('STRAPI_ADMIN_BACKEND_URL', '/'),
backend: env('PUBLIC_URL', 'https://cms.placebo.mk'),
},
});
+1
View File
@@ -1,6 +1,7 @@
export default ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
url: env('PUBLIC_URL', 'https://cms.placebo.mk'),
app: {
keys: env.array('APP_KEYS'),
},