allow all hosts
Build and Push Docker Images / build-and-push (push) Successful in 18s

This commit is contained in:
2025-05-08 16:45:01 +02:00
parent fa534b65f2
commit 65825b4ad9
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -15,7 +15,6 @@ services:
ADMIN_JWT_SECRET: d9cqEottMoABxcmp ADMIN_JWT_SECRET: d9cqEottMoABxcmp
APP_KEYS: szkCL5n0Mwyqo6ef APP_KEYS: szkCL5n0Mwyqo6ef
API_TOKEN_SALT: pMJRhpA4J+zUHzJO API_TOKEN_SALT: pMJRhpA4J+zUHzJO
ALLOWED_HOSTS: "localhost,127.0.0.1"
ports: ports:
- "1337:1337" - "1337:1337"
depends_on: depends_on:
@@ -10,8 +10,8 @@ export default (config: UserConfig) => {
"@": "/src", "@": "/src",
}, },
}, },
define: { server: {
"import.meta.env.VITE_ALLOWED_HOSTS": JSON.stringify(allowedHosts), allowedHosts: true,
}, },
}); });
}; };