This commit is contained in:
2026-02-06 18:21:27 +08:00
parent 8cda5f6be3
commit 0ba8c9a7dc
2 changed files with 8 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ type Runtime = {
isServer?: boolean;
}
export const runtime: Runtime = useContextKey('runtime', () => {
console.log('Runtime detected:', manualParse.isDev);
console.log('Runtime detected:', 'isDev:', manualParse.isDev, 'isServer:', manualParse.isServer);
return {
type: 'client',
isServer: manualParse.isServer,