fixing
This commit is contained in:
parent
120f656bb4
commit
a7354c0e35
|
|
@ -61,6 +61,8 @@ export const createServer = async () => {
|
||||||
req,
|
req,
|
||||||
server,
|
server,
|
||||||
handle,
|
handle,
|
||||||
|
serveStatic,
|
||||||
|
serveAPI,
|
||||||
wsHandler,
|
wsHandler,
|
||||||
prasi,
|
prasi,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,8 @@ export const g = global as unknown as {
|
||||||
server: Server;
|
server: Server;
|
||||||
handle: (req: Request) => Promise<Response | undefined>;
|
handle: (req: Request) => Promise<Response | undefined>;
|
||||||
wsHandler: Record<string, WebSocketHandler<WSData>>;
|
wsHandler: Record<string, WebSocketHandler<WSData>>;
|
||||||
|
serveStatic?: any;
|
||||||
|
serveAPI?: any;
|
||||||
prasi: { page_id?: string };
|
prasi: { page_id?: string };
|
||||||
}) => Promise<Response | undefined>;
|
}) => Promise<Response | undefined>;
|
||||||
server_runtime: Record<
|
server_runtime: Record<
|
||||||
|
|
@ -61,7 +63,7 @@ export const g = global as unknown as {
|
||||||
syncronize: typeof syncronize;
|
syncronize: typeof syncronize;
|
||||||
static_cache: any;
|
static_cache: any;
|
||||||
route_cache_compressing: Set<string>;
|
route_cache_compressing: Set<string>;
|
||||||
route_cache: Record<string, {br?: any, gzip?: any}>;
|
route_cache: Record<string, { br?: any; gzip?: any }>;
|
||||||
code_index_compressing: Set<string>;
|
code_index_compressing: Set<string>;
|
||||||
code_index_cache: Record<
|
code_index_cache: Record<
|
||||||
string,
|
string,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue