feat(dev): don't proxy fonts
Use the local ones, this simplifies testing adding icons, for example.
This commit is contained in:
parent
e452867e12
commit
c9b910b1c1
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue