Ver código fonte

Add some other paths to proxy bypass

j8
Bettenbuk Zoltan 6 anos atrás
pai
commit
154200460d
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2
    1
      webpack.config.js

+ 2
- 1
webpack.config.js Ver arquivo

@@ -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
 

Carregando…
Cancelar
Salvar