refactor: Move Astro to root, use PORT env (default 80), allow all hosts
- Move Astro files from dealplustech-astro/ to project root - Update Dockerfile: PORT environment variable (default 80) - Add vite.config.ts with allowedHosts: true - Matches nixpacks behavior for Easypanel deployment - No hardcoded ports or domains
This commit is contained in:
7
node_modules/astro/dist/runtime/server/endpoint.d.ts
generated
vendored
Normal file
7
node_modules/astro/dist/runtime/server/endpoint.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { Logger } from '../../core/logger/core.js';
|
||||
import type { APIRoute } from '../../types/public/common.js';
|
||||
import type { APIContext } from '../../types/public/context.js';
|
||||
/** Renders an endpoint request to completion, returning the body. */
|
||||
export declare function renderEndpoint(mod: {
|
||||
[method: string]: APIRoute;
|
||||
}, context: APIContext, isPrerendered: boolean, logger: Logger): Promise<Response>;
|
||||
Reference in New Issue
Block a user