Add some other paths to proxy bypass

This commit is contained in:
Bettenbuk Zoltan 2019-04-23 16:05:47 +02:00 committed by Zoltan Bettenbuk
parent 9a92dc578c
commit 154200460d
1 changed files with 2 additions and 1 deletions

View File

@ -176,7 +176,8 @@ module.exports = [
*/
function devServerProxyBypass({ path }) {
if (path.startsWith('/css/') || path.startsWith('/doc/')
|| path.startsWith('/fonts/')) {
|| path.startsWith('/fonts/') || path.startsWith('/images/')
|| path.startsWith('/static/')) {
return path;
}