使用DOCKER环境变量替换网关链接
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@
|
|||||||
<script>
|
<script>
|
||||||
// 默认值(可选)
|
// 默认值(可选)
|
||||||
window.__APP_ENV__ = {
|
window.__APP_ENV__ = {
|
||||||
VITE_GLOB_API_URL: '', // 占位符,Docker 替换
|
VITE_GLOB_API_URL: '__VITE_GLOB_API_URL__', // 占位符,Docker 替换
|
||||||
};
|
};
|
||||||
window._AMapSecurityConfig = {
|
window._AMapSecurityConfig = {
|
||||||
securityJsCode: "1b3b86585c863d22db1e7f7636a9e495",
|
securityJsCode: "1b3b86585c863d22db1e7f7636a9e495",
|
||||||
|
|||||||
Reference in New Issue
Block a user