- Migrated all pages from Next.js to Astro - Added PDPA-compliant Privacy Policy (Thai) - Added PDPA-compliant Terms & Conditions (Thai) - Added Cookie Policy with disclosure (Thai) - Implemented cookie consent banner (client-side) - Integrated Umami Analytics placeholder - Blog system with 3 posts - Optimized Docker configuration for production - Static site build (184KB, 11 pages) - Ready for Easypanel deployment Backup: /Users/kunthawatgreethong/Gitea/dealplustech-backup-nextjs-20260309.tar.gz
11 lines
644 B
TypeScript
11 lines
644 B
TypeScript
import type { IncomingMessage, ServerResponse } from 'node:http';
|
|
import type { NodeApp } from 'astro/app/node';
|
|
import type { Options } from './types.js';
|
|
/**
|
|
* Creates a Node.js http listener for static files and prerendered pages.
|
|
* In standalone mode, the static handler is queried first for the static files.
|
|
* If one matching the request path is not found, it relegates to the SSR handler.
|
|
* Intended to be used only in the standalone mode.
|
|
*/
|
|
export declare function createStaticHandler(app: NodeApp, options: Options): (req: IncomingMessage, res: ServerResponse, ssr: () => unknown) => ServerResponse<IncomingMessage> | undefined;
|