Skip to content

Commit

Permalink
feat: change server port
Browse files Browse the repository at this point in the history
  • Loading branch information
bbb169 committed Oct 16, 2023
1 parent c08d07b commit 292b7c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default defineConfig({
],
server: {
host: '0.0.0.0', // 指定监听的IP地址
port: 3333, // 指定服务器端口
port: 4000, // 指定服务器端口
open: true, // 开发服务器启动时,自动在浏览器打开
strictPort: false, // 设为 true 时,若端口已被占用会直接退出,不会尝试下一个可用端口
https: true, // 是否开启 https 服务
Expand Down

0 comments on commit 292b7c6

Please sign in to comment.