- 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
9 lines
487 B
TypeScript
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;
|