mirror of
https://github.com/Moe-Sakura/frontend.git
synced 2026-05-20 21:45:46 +08:00
fix: 更新 API 地址与依赖项版本
* 将 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 地址和使用示例的一致性。
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# 开发环境配置
|
||||
|
||||
# API 配置(开发环境可以使用本地 API)
|
||||
VITE_API_BASE_URL=https://cfapi.searchgal.homes
|
||||
VITE_API_BASE_URL=https://cf.api.searchgal.homes
|
||||
# VITE_API_BASE_URL=http://localhost:8787
|
||||
|
||||
# 开发配置
|
||||
|
||||
Reference in New Issue
Block a user