fix: no top level await
This commit is contained in:
parent
56b660b30c
commit
e6580eed2c
@ -8,7 +8,7 @@ import type { AppLoadContext, EntryContext } from 'react-router';
|
|||||||
import { ServerRouter } from 'react-router';
|
import { ServerRouter } from 'react-router';
|
||||||
import { hp_loadConfig } from '~/utils/context/loader';
|
import { hp_loadConfig } from '~/utils/context/loader';
|
||||||
|
|
||||||
await hp_loadConfig();
|
hp_loadConfig();
|
||||||
export const streamTimeout = 5_000;
|
export const streamTimeout = 5_000;
|
||||||
|
|
||||||
export default function handleRequest(
|
export default function handleRequest(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user