Browse Source

Update configurations for self-hosted (#1558)

* Update configurations for self-hosted

* Revert "Update configurations for self-hosted"

This reverts commit a1ec06c834.

* Use selfhosted.json to configure dev env
pull/1564/head
Matt Gibson 4 years ago committed by GitHub
parent
commit
575847f252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      config/base.json
  2. 10
      config/selfhosted.json
  3. 1
      webpack.config.js

1
config/base.json

@ -7,6 +7,7 @@
"buttonAction": "https://www.sandbox.paypal.com/cgi-bin/webscr" "buttonAction": "https://www.sandbox.paypal.com/cgi-bin/webscr"
}, },
"dev": { "dev": {
"port": 8080,
"allowedHosts": "auto" "allowedHosts": "auto"
} }
} }

10
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
}
}

1
webpack.config.js

@ -211,6 +211,7 @@ const devServer =
} }
}, },
hot: false, hot: false,
port: envConfig.dev?.port ?? 8080,
allowedHosts: envConfig.dev?.allowedHosts ?? "auto", allowedHosts: envConfig.dev?.allowedHosts ?? "auto",
client: { client: {
overlay: { overlay: {

Loading…
Cancel
Save