Bläddra i källkod

Add some other paths to proxy bypass

master
Bettenbuk Zoltan 6 år sedan
förälder
incheckning
154200460d
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2
    1
      webpack.config.js

+ 2
- 1
webpack.config.js Visa fil

176
  */
176
  */
177
 function devServerProxyBypass({ path }) {
177
 function devServerProxyBypass({ path }) {
178
     if (path.startsWith('/css/') || path.startsWith('/doc/')
178
     if (path.startsWith('/css/') || path.startsWith('/doc/')
179
-            || path.startsWith('/fonts/')) {
179
+            || path.startsWith('/fonts/') || path.startsWith('/images/')
180
+            || path.startsWith('/static/')) {
180
         return path;
181
         return path;
181
     }
182
     }
182
 
183
 

Laddar…
Avbryt
Spara