Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73b8a5a commit 97e07a4Copy full SHA for 97e07a4
site/webpack.dev.ts
@@ -58,7 +58,7 @@ const config: Configuration = {
58
// properly serving index.html on 404s.
59
historyApiFallback: true,
60
hot: true,
61
- port: 8080,
+ port: process.env.PORT || 8080,
62
proxy: {
63
"/api": "http://localhost:3000",
64
},
0 commit comments