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

10
config/selfhosted.json

@ -1 +1,9 @@ @@ -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 = @@ -211,6 +211,7 @@ const devServer =
}
},
hot: false,
port: envConfig.dev?.port ?? 8080,
allowedHosts: envConfig.dev?.allowedHosts ?? "auto",
client: {
overlay: {

Loading…
Cancel
Save