From 97e07a49e93782afc6fc0e904c0467360f21848c Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Tue, 19 Apr 2022 08:58:03 -0700 Subject: [PATCH] chore(webpack): allow process.env.PORT (#1071) --- site/webpack.dev.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/webpack.dev.ts b/site/webpack.dev.ts index 0e8baf84ba..642f358f4a 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", },