Skip to content

Commit

Permalink
调整vite默认配置
Browse files Browse the repository at this point in the history
  • Loading branch information
hooray committed Feb 8, 2025
1 parent ce6f166 commit 364b025
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default defineConfig(({ mode, command }) => {
// 开发服务器选项 https://cn.vitejs.dev/config/server-options
server: {
open: true,
host: true,
port: 9000,
proxy: {
'/proxy': {
Expand Down

0 comments on commit 364b025

Please sign in to comment.