This commit is contained in:
@@ -15,7 +15,6 @@ services:
|
||||
ADMIN_JWT_SECRET: d9cqEottMoABxcmp
|
||||
APP_KEYS: szkCL5n0Mwyqo6ef
|
||||
API_TOKEN_SALT: pMJRhpA4J+zUHzJO
|
||||
ALLOWED_HOSTS: "localhost,127.0.0.1"
|
||||
ports:
|
||||
- "1337:1337"
|
||||
depends_on:
|
||||
|
||||
@@ -10,8 +10,8 @@ export default (config: UserConfig) => {
|
||||
"@": "/src",
|
||||
},
|
||||
},
|
||||
define: {
|
||||
"import.meta.env.VITE_ALLOWED_HOSTS": JSON.stringify(allowedHosts),
|
||||
server: {
|
||||
allowedHosts: true,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user