fix: no top level await
This commit is contained in:
parent
56b660b30c
commit
e6580eed2c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue