diff --git a/site/webpack.dev.ts b/site/webpack.dev.ts index 0e8baf84ba3f3..642f358f4a9a8 100644 --- a/site/webpack.dev.ts +++ b/site/webpack.dev.ts @@ -58,7 +58,7 @@ const config: Configuration = { // properly serving index.html on 404s. historyApiFallback: true, hot: true, - port: 8080, + port: process.env.PORT || 8080, proxy: { "/api": "http://localhost:3000", },