From b2fdf4f25251229adbe9a6963cb35fb7fc868172 Mon Sep 17 00:00:00 2001 From: surprise <15810472099@163.com> Date: 星期二, 02 一月 2024 18:29:14 +0800 Subject: [PATCH] GLB模型添加.修改,删除 --- config/index.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/index.js b/config/index.js index f4c8d16..1f32556 100644 --- a/config/index.js +++ b/config/index.js @@ -36,13 +36,13 @@ cssSourceMap: true, proxyTable: { // 杩欓噷閰嶇疆 '/api' 灏辩瓑浠蜂簬 target , 浣犲湪閾炬帴閲岃闂� /api === http://localhost:54321 - '/api': { - target: 'http://10.10.4.121:8070', + '/JiangSu': { + target: 'http://localhost/JiangSu', // secure: true, // 濡傛灉鏄� https ,闇�瑕佸紑鍚繖涓�夐」 changeOrigin: true, // 鏄惁鏄法鍩熻姹�?鑲畾鏄晩,涓嶈法鍩熷氨娌℃湁蹇呰閰嶇疆杩欎釜proxyTable浜�. pathRewrite: { // 閲嶅啓璺緞 渚嬪娴忚鍣ㄨ姹傚湴鍧�http://localhost:12345/xxx,瀹為檯璇锋眰鐨勬槸浣犱唬鐞嗙殑鍦板潃锛歨ttp:xxx/11111 // 杩欓噷鏄拷鍔犻摼鎺�,姣斿鐪熸槸鎺ュ彛閲屽寘鍚簡 /api,灏遍渶瑕佽繖鏍烽厤缃�. - '^/api': '', // 鍜屼笅杈逛袱绉嶅啓娉曪紝鍥犱汉鑰屽紓鏍规嵁闇�姹傘�� + '^/JiangSu': '', // 鍜屼笅杈逛袱绉嶅啓娉曪紝鍥犱汉鑰屽紓鏍规嵁闇�姹傘�� // 绛変环浜� /api + /api == http://localhost:54321/api // 濡傛灉鍐欎负 '^/api' : '/' // 绛変环浜� /api + / == http://localhost:54321/ -- Gitblit v1.9.3