Skip to content
Snippets Groups Projects
Commit 4d2f8119 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Change accepted status codes for legacy page resposes

parent cc82524e
No related branches found
No related tags found
3 merge requests!1237Release 3.0,!1215Resolve "Offline fallback page for django legacy pages is misleading in some situations",!1183Release 3.0
......@@ -239,7 +239,7 @@ export default defineConfig({
plugins: [
{
fetchDidSucceed: async ({ request, response }) => {
if (response.status < 400) {
if (response.status < 500) {
return response;
}
throw new Error(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment