- 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
12 lines
473 B
TypeScript
12 lines
473 B
TypeScript
import type { NodeApp } from 'astro/app/node';
|
|
import type { Options, RequestHandler } from './types.js';
|
|
/**
|
|
* Creates a middleware that can be used with Express, Connect, etc.
|
|
*
|
|
* Similar to `createAppHandler` but can additionally be placed in the express
|
|
* chain as an error middleware.
|
|
*
|
|
* https://expressjs.com/en/guide/using-middleware.html#middleware.error-handling
|
|
*/
|
|
export default function createMiddleware(app: NodeApp, options: Options): RequestHandler;
|