elk/constants/index.ts
2022-11-25 21:21:02 +08:00

18 lines
513 B
TypeScript

export const APP_NAME = 'Elk'
export const HOST_DOMAIN = process.dev
? 'http://localhost:3000'
: 'https://elk.zone'
export const POST_CHARS_LIMIT = 500
export const DEFAULT_SERVER = 'mas.to'
export const STORAGE_KEY_DRAFTS = 'elk-drafts'
export const STORAGE_KEY_USERS = 'elk-users'
export const STORAGE_KEY_CURRENT_USER = 'elk-current-user'
export const STORAGE_KEY_NOTIFY_TAB = 'elk-notify-tab'
export const STORAGE_KEY_FIRST_VISIT = 'elk-first-visit'
export const STORAGE_KEY_ZEN_MODE = 'elk-zenmode'