fix: use same-origin media proxy in local development

This commit is contained in:
Zhou Weidong committed 2026-11-10 17:14:02 +08:00
1 parent 441b55d25b
commit dff7261f80
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
# Author: fruit.com.cn
VITE_API_BASE_URL=http://127.0.0.1:8081
VITE_MEDIA_BASE_URL=http://127.0.0.1:8081
# Leave empty in local development so Vite proxies /files without CORS issues.
VITE_MEDIA_BASE_URL=