chore(webpack): allow process.env.PORT (#1071)

This commit is contained in:
Joe Previte
2022-04-19 08:58:03 -07:00
committed by GitHub
parent 73b8a5a929
commit 97e07a49e9

View File

@ -58,7 +58,7 @@ const config: Configuration = {
// properly serving index.html on 404s. // properly serving index.html on 404s.
historyApiFallback: true, historyApiFallback: true,
hot: true, hot: true,
port: 8080, port: process.env.PORT || 8080,
proxy: { proxy: {
"/api": "http://localhost:3000", "/api": "http://localhost:3000",
}, },