Add some other paths to proxy bypass
This commit is contained in:
parent
9a92dc578c
commit
154200460d
|
@ -176,7 +176,8 @@ module.exports = [
|
||||||
*/
|
*/
|
||||||
function devServerProxyBypass({ path }) {
|
function devServerProxyBypass({ path }) {
|
||||||
if (path.startsWith('/css/') || path.startsWith('/doc/')
|
if (path.startsWith('/css/') || path.startsWith('/doc/')
|
||||||
|| path.startsWith('/fonts/')) {
|
|| path.startsWith('/fonts/') || path.startsWith('/images/')
|
||||||
|
|| path.startsWith('/static/')) {
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue