Files
blitzkit/src/core/blitzkrieg/context.ts
T

4 lines
126 B
TypeScript
Raw Normal View History

type Context = 'website' | 'server';
2023-09-24 15:58:42 -05:00
export const context: Context =
typeof window === 'undefined' ? 'server' : 'website';