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:
15
node_modules/astro/dist/env/validators.d.ts
generated
vendored
Normal file
15
node_modules/astro/dist/env/validators.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { EnvFieldType } from './schema.js';
|
||||
export type ValidationResultValue = EnvFieldType['default'];
|
||||
export type ValidationResultErrors = ['missing'] | ['type'] | Array<string>;
|
||||
interface ValidationResultValid {
|
||||
ok: true;
|
||||
value: ValidationResultValue;
|
||||
}
|
||||
export interface ValidationResultInvalid {
|
||||
ok: false;
|
||||
errors: ValidationResultErrors;
|
||||
}
|
||||
type ValidationResult = ValidationResultValid | ValidationResultInvalid;
|
||||
export declare function getEnvFieldType(options: EnvFieldType): string;
|
||||
export declare function validateEnvVariable(value: string | undefined, options: EnvFieldType): ValidationResult;
|
||||
export {};
|
||||
Reference in New Issue
Block a user