feat(dev): don't proxy fonts

Use the local ones, this simplifies testing adding icons, for example.
This commit is contained in:
Saúl Ibarra Corretgé 2018-11-29 14:32:21 +01:00 committed by Zoltan Bettenbuk
parent e452867e12
commit c9b910b1c1
1 changed files with 2 additions and 1 deletions

View File

@ -187,7 +187,8 @@ module.exports = [
* target, undefined; otherwise, the path to the local file to be served.
*/
function devServerProxyBypass({ path }) {
if (path.startsWith('/css/') || path.startsWith('/doc/')) {
if (path.startsWith('/css/') || path.startsWith('/doc/')
|| path.startsWith('/fonts/')) {
return path;
}