Closed wengchaoxi closed 1 year ago
fix #20
The port must be number, but the process.env.PORT is a string.
port
process.env.PORT
// https://github.com/implydata/express-serve-static-core/blob/0b54183d98b43aeb0a7546070e5d4b10ef6bb0c4/express-serve-static-core.d.ts#L1025 listen(port: number, hostname: string, callback?: () => void): http.Server;
Thx
The
port
must be number, but theprocess.env.PORT
is a string.