fix: Final restoration with port 80
✅ COMPLETED: 1. Dockerfile uses port 80 (astro preview) 2. BaseLayout imports globals.css 3. globals.css with Tailwind v4 @theme syntax 4. index.astro has Header, Footer, FixedContact 5. All image references fixed to existing files 6. Hero uses hdpe_pipe_main.jpg 7. Product cards use hdpe001.jpg 8. pt-20 on main for fixed header ✅ TESTED LOCALLY: - Build: 15 pages in 1.27s - Docker build successful - Port 80 working - Images load - CSS works Ready for Easypanel deployment.
This commit is contained in:
55
node_modules/astro/dist/core/session.d.ts
generated
vendored
Normal file
55
node_modules/astro/dist/core/session.d.ts
generated
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
import type { ResolvedSessionConfig, RuntimeMode, SessionDriverName } from '../types/public/config.js';
|
||||
import type { AstroCookies } from './cookies/cookies.js';
|
||||
export declare const PERSIST_SYMBOL: unique symbol;
|
||||
export declare class AstroSession<TDriver extends SessionDriverName = any> {
|
||||
#private;
|
||||
constructor(cookies: AstroCookies, { cookie: cookieConfig, ...config }: NonNullable<ResolvedSessionConfig<TDriver>>, runtimeMode?: RuntimeMode);
|
||||
/**
|
||||
* Gets a session value. Returns `undefined` if the session or value does not exist.
|
||||
*/
|
||||
get<T = void, K extends string = keyof App.SessionData | (string & {})>(key: K): Promise<(T extends void ? (K extends keyof App.SessionData ? App.SessionData[K] : any) : T) | undefined>;
|
||||
/**
|
||||
* Checks if a session value exists.
|
||||
*/
|
||||
has(key: string): Promise<boolean>;
|
||||
/**
|
||||
* Gets all session values.
|
||||
*/
|
||||
keys(): Promise<MapIterator<string>>;
|
||||
/**
|
||||
* Gets all session values.
|
||||
*/
|
||||
values(): Promise<any[]>;
|
||||
/**
|
||||
* Gets all session entries.
|
||||
*/
|
||||
entries(): Promise<any[][]>;
|
||||
/**
|
||||
* Deletes a session value.
|
||||
*/
|
||||
delete(key: string): void;
|
||||
/**
|
||||
* Sets a session value. The session is created if it does not exist.
|
||||
*/
|
||||
set<T = void, K extends string = keyof App.SessionData | (string & {})>(key: K, value: T extends void ? K extends keyof App.SessionData ? App.SessionData[K] : any : NoInfer<T>, { ttl }?: {
|
||||
ttl?: number;
|
||||
}): void;
|
||||
/**
|
||||
* Destroys the session, clearing the cookie and storage if it exists.
|
||||
*/
|
||||
destroy(): void;
|
||||
/**
|
||||
* Regenerates the session, creating a new session ID. The existing session data is preserved.
|
||||
*/
|
||||
regenerate(): Promise<void>;
|
||||
[PERSIST_SYMBOL](): Promise<void>;
|
||||
get sessionID(): string | undefined;
|
||||
/**
|
||||
* Loads a session from storage with the given ID, and replaces the current session.
|
||||
* Any changes made to the current session will be lost.
|
||||
* This is not normally needed, as the session is automatically loaded using the cookie.
|
||||
* However it can be used to restore a session where the ID has been recorded somewhere
|
||||
* else (e.g. in a database).
|
||||
*/
|
||||
load(sessionID: string): Promise<void>;
|
||||
}
|
||||
Reference in New Issue
Block a user