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:
Kunthawat Greethong
2026-03-03 11:40:50 +07:00
parent f972f68875
commit 443c3377e2
10383 changed files with 4019 additions and 19183 deletions

15
node_modules/astro/dist/prerender/routing.d.ts generated vendored Normal file
View File

@@ -0,0 +1,15 @@
import type { AstroSettings, ComponentInstance } from '../types/astro.js';
import type { RouteData } from '../types/public/internal.js';
import type { DevPipeline } from '../vite-plugin-astro-server/pipeline.js';
type GetSortedPreloadedMatchesParams = {
pipeline: DevPipeline;
matches: RouteData[];
settings: AstroSettings;
};
export declare function getSortedPreloadedMatches({ pipeline, matches, settings, }: GetSortedPreloadedMatchesParams): Promise<PreloadAndSetPrerenderStatusResult[]>;
type PreloadAndSetPrerenderStatusResult = {
filePath: URL;
route: RouteData;
preloadedComponent: ComponentInstance;
};
export {};