Files
skills-here-run-place/node_modules/@astrojs/node/dist/serve-app.d.ts
Alejandro Martinez f09af719cf Initial commit
2026-02-12 02:04:10 +01:00

9 lines
487 B
TypeScript

import { NodeApp } from 'astro/app/node';
import type { Options, RequestHandler } from './types.js';
/**
* Creates a Node.js http listener for on-demand rendered pages, compatible with http.createServer and Connect middleware.
* If the next callback is provided, it will be called if the request does not have a matching route.
* Intended to be used in both standalone and middleware mode.
*/
export declare function createAppHandler(app: NodeApp, options: Options): RequestHandler;