Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 97e07a4

Browse files
authored
chore(webpack): allow process.env.PORT (coder#1071)
1 parent 73b8a5a commit 97e07a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/webpack.dev.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const config: Configuration = {
5858
// properly serving index.html on 404s.
5959
historyApiFallback: true,
6060
hot: true,
61-
port: 8080,
61+
port: process.env.PORT || 8080,
6262
proxy: {
6363
"/api": "http://localhost:3000",
6464
},

0 commit comments

Comments
 (0)