This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user