@astrojs/netlify
Version:
Deploy your site to Netlify
13 lines (12 loc) • 444 B
TypeScript
import './polyfill.js';
import type { Context } from '@netlify/functions';
import type { SSRManifest } from 'astro';
export interface Args {
middlewareSecret: string;
}
export declare const createExports: (manifest: SSRManifest, { middlewareSecret }: Args) => {
default: (integrationConfig: {
cacheOnDemandPages: boolean;
notFoundContent?: string;
}) => (request: Request, context: Context) => Promise<Response>;
};