Download packages/constants/src/core.ts from binhugg3/admin: direct link, hf CLI and curl.
- Browser
- Download file 445 Bytes
-
https://huggingface.co/spaces/binhugg3/admin/resolve/main/packages/constants/src/core.ts
- Command line
-
hf download hf://spaces/binhugg3/admin/packages/constants/src/core.ts
-
curl -L -o core.ts https://huggingface.co/spaces/binhugg3/admin/resolve/main/packages/constants/src/core.ts
445 Bytes
| /** | |
| * @zh_CN 登录页面 url 地址 | |
| */ | |
| export const LOGIN_PATH = '/auth/login'; | |
| /** | |
| * @zh_CN 默认首页地址 | |
| */ | |
| export const DEFAULT_HOME_PATH = '/analytics'; | |
| export interface LanguageOption { | |
| label: string; | |
| value: 'en-US' | 'zh-CN'; | |
| } | |
| /** | |
| * Supported languages | |
| */ | |
| export const SUPPORT_LANGUAGES: LanguageOption[] = [ | |
| { | |
| label: '简体中文', | |
| value: 'zh-CN', | |
| }, | |
| { | |
| label: 'English', | |
| value: 'en-US', | |
| }, | |
| ]; | |