Files
frontend_v2/src/lib/config/env.dev.ts
toom1996 afff2d9a49 update
2026-09-14 21:30:15 +08:00

13 lines
512 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// src/lib/config/env.dev.ts — 开发环境配置(astro dev / MODE=development)
import type { AppConfig } from "./types"
const config: AppConfig = {
baseApi: "http://localhost:8090", // 浏览器运行期直连本地后端
baseApiSsr: "http://localhost:8090", // 按需渲染 SSR 取数(绝对 URL)
baseApiSsg: "http://localhost:8091", // 构建期 SSG 内部端口
idleLogoutDays: 7, // 超过 7 天没访问则登出(0 = 关闭空闲登出)
siteName: "Xisoa",
}
export default config