We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a10aa9d commit 742996fCopy full SHA for 742996f
1 file changed
packages/solidstart/src/index.ts
@@ -60,8 +60,8 @@ export function fedifyMiddleware<TContextData>(
60
onRequest: async (event: FetchEvent) => {
61
const response = await federation.fetch(event.request, {
62
contextData: await createContextData(event),
63
- onNotFound: async () => new Response("Not Found", { status: 404 }),
64
- onNotAcceptable: async () =>
+ onNotFound: () => new Response("Not Found", { status: 404 }),
+ onNotAcceptable: () =>
65
new Response("Not Acceptable", {
66
status: 406,
67
headers: { "Content-Type": "text/plain", Vary: "Accept" },
0 commit comments