From 575847f25271c9ab2ac81393565565e0e8bd081a Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Wed, 23 Mar 2022 14:53:41 -0400 Subject: [PATCH] Update configurations for self-hosted (#1558) * Update configurations for self-hosted * Revert "Update configurations for self-hosted" This reverts commit a1ec06c834a5e9a5bb8fd4c983b5d7909a2ee9a4. * Use selfhosted.json to configure dev env --- config/base.json | 1 + config/selfhosted.json | 10 +++++++++- webpack.config.js | 1 + 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/config/base.json b/config/base.json index 7b592d711b..b6a41c203e 100644 --- a/config/base.json +++ b/config/base.json @@ -7,6 +7,7 @@ "buttonAction": "https://www.sandbox.paypal.com/cgi-bin/webscr" }, "dev": { + "port": 8080, "allowedHosts": "auto" } } diff --git a/config/selfhosted.json b/config/selfhosted.json index 0967ef424b..208a355a85 100644 --- a/config/selfhosted.json +++ b/config/selfhosted.json @@ -1 +1,9 @@ -{} +{ + "dev": { + "proxyApi": "http://localhost:4001", + "proxyIdentity": "http://localhost:33657", + "proxyEvents": "http://localhost:46274", + "proxyNotifications": "http://localhost:61841", + "port": 8081 + } +} diff --git a/webpack.config.js b/webpack.config.js index 8c6a51a8a2..6332c8f90f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -211,6 +211,7 @@ const devServer = } }, hot: false, + port: envConfig.dev?.port ?? 8080, allowedHosts: envConfig.dev?.allowedHosts ?? "auto", client: { overlay: {