fix: throw error when no partials found (#1853)

This commit is contained in:
Marvin Hagemeister
2023-10-04 15:38:43 +02:00
committed by GitHub
parent ea91687ea3
commit be1c15f8f3
7 changed files with 83 additions and 3 deletions
@@ -0,0 +1,10 @@
import { defineRoute } from "$fresh/src/server/defines.ts";
export default defineRoute(() => {
return new Response("", {
status: 302,
headers: {
Location: "/no_partial_response",
},
});
});