Files
urbanLifeline/urbanLifelineWeb/packages/workcase/src/config.ts

34 lines
964 B
TypeScript
Raw Normal View History

2025-12-13 14:13:31 +08:00
/**
* Workcase
*/
/**
* AES
* security.aes.secret-key
* Base64 32 256
*/
export const AES_SECRET_KEY = 'MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI=' // Base64 编码,解码后是 "12345678901234567890123456789012" (32字节)
/**
* API
* 使 shared APP_CONFIG
*/
export const API_BASE_URL = (import.meta as any).env?.VITE_API_BASE_URL || '/api'
/**
* Platform URL
*
* - nginx访问时使用 '/'
* - 访使 'http://localhost:5001'
* 使 '/'
*/
export const PLATFORM_URL = (import.meta as any).env?.VITE_PLATFORM_URL || '/'
/**
*
*/
export const APP_CONFIG = {
name: '泰豪小电',
version: '1.0.0',
copyright: '泰豪电源'
}