瀏覽代碼

Add some other paths to proxy bypass

j8
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
 

Loading…
取消
儲存