| 1234567891011121314151617 |
- // eslint-disable-next-line spaced-comment
- /// <reference types="vite/client" />
- interface ImportMetaEnv {
- readonly VITE_SPEAKING_API_HOST?: string
- }
- // 容器部署时由 nginx 启动脚本生成 /config.js 注入;dev 与普通构建下是空对象。
- interface AppRuntimeConfig {
- readonly SPEAKING_API_HOST?: string
- readonly AZURE_SPEECH_KEY?: string
- readonly AZURE_SPEECH_REGION?: string
- }
- interface Window {
- __APP_CONFIG__?: AppRuntimeConfig
- }
|