Fix KeyStatic: Add server function redirect

Add redirect to route all requests to the Netlify SSR server function.
This enables KeyStatic API routes and GitHub OAuth to work properly.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Buğra Canata
2026-01-17 20:27:56 +03:00
parent cebcfd4e78
commit 41a35c2a30
5 changed files with 12 additions and 6 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import { renderers } from './renderers.mjs';
import { s as serverEntrypointModule } from './chunks/_@astrojs-ssr-adapter_CvSoi7hX.mjs';
import { manifest } from './manifest_PPkPDeqU.mjs';
import { manifest } from './manifest_D0DB8br9.mjs';
import { createExports } from '@astrojs/netlify/ssr-function.js';
const serverIslandMap = new Map();;
@@ -78,7 +78,7 @@ const _manifest = Object.assign(manifest, {
middleware: () => import('./_noop-middleware.mjs')
});
const _args = {
"middlewareSecret": "3bc5afa7-1f80-4abb-b8ae-cd8708a47358"
"middlewareSecret": "561f5e46-e770-45eb-90f1-efb1d9015b36"
};
const _exports = createExports(_manifest, _args);
const __astrojsSsrVirtualEntry = _exports.default;
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
import { renderers } from './renderers.mjs';
import { s as serverEntrypointModule } from './chunks/_@astrojs-ssr-adapter_CvSoi7hX.mjs';
import { manifest } from './manifest_PPkPDeqU.mjs';
import { manifest } from './manifest_D0DB8br9.mjs';
import { createExports } from '@astrojs/netlify/ssr-function.js';
const serverIslandMap = new Map();;
@@ -78,7 +78,7 @@ const _manifest = Object.assign(manifest, {
middleware: () => import('./_noop-middleware.mjs')
});
const _args = {
"middlewareSecret": "3bc5afa7-1f80-4abb-b8ae-cd8708a47358"
"middlewareSecret": "561f5e46-e770-45eb-90f1-efb1d9015b36"
};
const _exports = createExports(_manifest, _args);
const __astrojsSsrVirtualEntry = _exports.default;