Commit 81bd35b9 authored by xinzhedeai's avatar xinzhedeai

本地server apps映射

parent 6ce792d2
......@@ -1960,7 +1960,6 @@ export default {
// 去除版权信息
viewer._cesiumWidget._creditContainer.style.display = "none";
var path = process.env.VUE_APP_D3Tileset + '/tileset.json';
console.log('path', path)
var localTile = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
url: path,
//maximumScreenSpaceError:1,
......
......@@ -61,6 +61,13 @@ module.exports = {
'^/api': 'api'
}
}, */
'/Apps': {
target: 'http://localhost:8080',
changeOrigin: true,
pathRewrite: {
'^/Apps': '/Apps'
}
},
'/auth': {
target: process.env.VUE_APP_BASE_API,
changeOrigin: true,
......
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