浏览代码

Add some other paths to proxy bypass

master
Bettenbuk Zoltan 6 年前
父节点
当前提交
154200460d
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      webpack.config.js

+ 2
- 1
webpack.config.js 查看文件

@@ -176,7 +176,8 @@ module.exports = [
176 176
  */
177 177
 function devServerProxyBypass({ path }) {
178 178
     if (path.startsWith('/css/') || path.startsWith('/doc/')
179
-            || path.startsWith('/fonts/')) {
179
+            || path.startsWith('/fonts/') || path.startsWith('/images/')
180
+            || path.startsWith('/static/')) {
180 181
         return path;
181 182
     }
182 183
 

正在加载...
取消
保存