Skip to content

Commit

Permalink
perf: 优化复制问卷地址的baseURl (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
xixiIBN5100 authored Oct 5, 2024
1 parent 2289714 commit ed9ca5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
HOST=http://sample.com
# 请求地址的baseURL
VITE_HOST=http://
# 复制问卷的baseURL
VITE_COPY_LINK=http://
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default defineConfig(({mode}) => {
],
server: {
proxy: {
"/api": env.HOST
"/api": env.VITE_HOST
}
},
resolve: {
Expand Down

0 comments on commit ed9ca5e

Please sign in to comment.