fix: use environment to select API_ENDPOINT

This commit is contained in:
wancat committed 2023-08-21 20:59:35 +08:00
1 parent c248004484
commit d86aa5bcc1
3 files changed
+8 -5

No files matched your search

+2 -1
View File
@@ -4,7 +4,8 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"dev": "API_TARGET=https://odyssey.wancat.cc vite",
"dev:local": "vite",
"build": "vite build",
"preview": "vite preview"
},