We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e4e696 commit 0c4c309Copy full SHA for 0c4c309
src/config.ts
@@ -2,7 +2,7 @@
2
export const config = {
3
// 服务器配置
4
server: {
5
- port: process.env.PORT || 3000,
+ port: Number(process.env.PORT) || 3000,
6
host: process.env.HOST || 'localhost',
7
},
8
0 commit comments