feat: Refactor TypedServer to use SmartServe and introduce new request handlers

- Removed legacy servertools and Express dependencies in favor of SmartServe.
- Introduced DevToolsHandler and TypedRequestHandler for handling specific routes.
- Added support for custom route registration with regex parsing.
- Implemented sitemap and feed handling with dedicated helper classes.
- Enhanced HTML response handling with reload script injection.
- Updated UtilityServiceServer and UtilityWebsiteServer to utilize new TypedServer API.
- Removed deprecated compression options and Express-based route handling.
- Added comprehensive request handling for various endpoints including robots.txt, manifest.json, and sitemap.
- Improved error handling and response formatting across the server.
This commit is contained in:
2025-12-02 20:26:34 +00:00
parent 1c0c88a7cb
commit c17d6dac35
13 changed files with 902 additions and 705 deletions

2
ts/controllers/index.ts Normal file
View File

@@ -0,0 +1,2 @@
export * from './controller.devtools.js';
export * from './controller.typedrequest.js';