Commit d284b1dd authored by 郭铭瑶's avatar 郭铭瑶 🤘

更换为/nd-api/打包

parent 93468632
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<script src="./SMap.min.js"></script> <script src="./SMap.min.js"></script>
<script src="./Plugins.min.js"></script> <script src="./Plugins.min.js"></script>
<script src="./hls.js"></script> <script src="./hls.js"></script>
<script type="module" crossorigin src="./assets/index.66409abe.js"></script> <script type="module" crossorigin src="./assets/index.9d3e04cb.js"></script>
<link rel="modulepreload" href="./assets/vendor.fb6b006a.js"> <link rel="modulepreload" href="./assets/vendor.fb6b006a.js">
<link rel="stylesheet" href="./assets/index.097e7037.css"> <link rel="stylesheet" href="./assets/index.097e7037.css">
</head> </head>
......
let BASE_URL = '' let BASE_URL = ''
switch (process.env.NODE_ENV) { switch (process.env.NODE_ENV) {
case 'production': case 'production':
BASE_URL = 'http://nandong-dev.omniview.pro/api' BASE_URL = '/nd-api'
break break
default: default:
BASE_URL = '/api' BASE_URL = '/api'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment