mirror of
https://github.com/Moe-Sakura/frontend.git
synced 2026-01-25 19:42:23 +08:00
* 将 API 地址从 `https://cfapi.searchgal.homes` 更新为 `https://cf.api.searchgal.homes`,确保一致性。 * 更新 `package.json` 中的依赖项版本,包括 `@eslint/js`、`@tailwindcss/vite`、`@types/node`、`@typescript-eslint`、`vite`、`vue` 等,提升项目稳定性和性能。 * 替换 `lazysizes` 为 `lozad.js` 以优化图片懒加载,提升用户体验。 * 更新文档,确保 API 地址和使用示例的一致性。
12 lines
258 B
Plaintext
12 lines
258 B
Plaintext
# 开发环境配置
|
||
|
||
# API 配置(开发环境可以使用本地 API)
|
||
VITE_API_BASE_URL=https://cf.api.searchgal.homes
|
||
# VITE_API_BASE_URL=http://localhost:8787
|
||
|
||
# 开发配置
|
||
VITE_ENABLE_DEBUG=true
|
||
VITE_ENABLE_MOCK=false
|
||
|
||
# 其他配置继承自 .env
|