Sfoglia il codice sorgente

Add some other paths to proxy bypass

master
Bettenbuk Zoltan 6 anni fa
parent
commit
154200460d
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2
    1
      webpack.config.js

+ 2
- 1
webpack.config.js Vedi File

@@ -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…
Annulla
Salva