fix(web/pwa): do not intercept api route (#952)

* fix(PWA): Don't intercept /api route

* remove proxy

* revert proxy

* actual revert

* Delete setupProxy.js
This commit is contained in:
Kyle Sanderson 2023-05-24 04:11:08 -07:00 committed by GitHub
parent 6c27c6e3ba
commit 76387d16f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 13 deletions

View file

@ -66,7 +66,8 @@ export default ({ mode }: { mode: any }) => {
},
workbox: {
globPatterns: ["**/*.{js,css,html,svg}"],
sourcemap: true
sourcemap: true,
navigateFallbackDenylist: [/^\/api/]
}
})],
resolve: {
@ -101,4 +102,4 @@ export default ({ mode }: { mode: any }) => {
sourcemap: true
}
});
};
};