Browse Source

feat(dev): don't proxy fonts

Use the local ones, this simplifies testing adding icons, for example.
j8
Saúl Ibarra Corretgé 6 years ago
parent
commit
c9b910b1c1
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      webpack.config.js

+ 2
- 1
webpack.config.js View File

187
  * target, undefined; otherwise, the path to the local file to be served.
187
  * target, undefined; otherwise, the path to the local file to be served.
188
  */
188
  */
189
 function devServerProxyBypass({ path }) {
189
 function devServerProxyBypass({ path }) {
190
-    if (path.startsWith('/css/') || path.startsWith('/doc/')) {
190
+    if (path.startsWith('/css/') || path.startsWith('/doc/')
191
+            || path.startsWith('/fonts/')) {
191
         return path;
192
         return path;
192
     }
193
     }
193
 
194
 

Loading…
Cancel
Save