update
This commit is contained in:
11
src/lib/config/env.dev.ts
Normal file
11
src/lib/config/env.dev.ts
Normal file
@ -0,0 +1,11 @@
|
||||
// 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 = 关闭空闲登出)
|
||||
}
|
||||
|
||||
export default config
|
||||
Reference in New Issue
Block a user