fix: 環境變數讀取

This commit is contained in:
skytek_xinliang
2026-05-22 09:50:54 +08:00
parent b5bf2eb37e
commit 59d04a4d7e
2 changed files with 20 additions and 4 deletions
+13
View File
@@ -1,3 +1,16 @@
# vite / vite dev:預設 mode = development
# vite build:預設 mode = production
# vite --mode staging:改成 staging
# vite build --mode developmentbuild 但用 development mode
# 覆蓋優先從低至高
# .env
# .env.local
# .env.[mode]
# .env.[mode].local
# Vite dev proxy 目標後端 URL。
VITE_PROXY_TARGET=http://192.168.89.54:9002