Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Don't use port 8080 anymore #5397

Merged
merged 1 commit into from
Apr 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/src/environment/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const parityNode = (
process.env.PARITY_URL && `http://${process.env.PARITY_URL}`
) || (
process.env.NODE_ENV === 'production'
? 'http://127.0.0.1:8080'
? 'http://127.0.0.1:8545'
: ''
);

Expand Down
2 changes: 1 addition & 1 deletion js/src/secureApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class SecureApi extends Api {
_tokens = [];

_dappsInterface = null;
_dappsPort = 8080;
_dappsPort = 8545;
_signerPort = 8180;

static getTransport (url, sysuiToken) {
Expand Down
6 changes: 3 additions & 3 deletions js/webpack/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,13 @@ function addProxies (app) {
}));

app.use('/api', proxy({
target: 'http://127.0.0.1:8080',
target: 'http://127.0.0.1:8545',
changeOrigin: true,
autoRewrite: true
}));

app.use('/app', proxy({
target: 'http://127.0.0.1:8080',
target: 'http://127.0.0.1:8545',
changeOrigin: true,
pathRewrite: {
'^/app': ''
Expand All @@ -193,7 +193,7 @@ function addProxies (app) {
}));

app.use('/rpc', proxy({
target: 'http://127.0.0.1:8080',
target: 'http://127.0.0.1:8545',
changeOrigin: true
}));
}
Expand Down