Don't use port 8080 anymore (#5397)
This commit is contained in:
parent
8486e79cad
commit
455f994673
@ -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'
|
||||
: ''
|
||||
);
|
||||
|
||||
|
@ -28,7 +28,7 @@ export default class SecureApi extends Api {
|
||||
_tokens = [];
|
||||
|
||||
_dappsInterface = null;
|
||||
_dappsPort = 8080;
|
||||
_dappsPort = 8545;
|
||||
_signerPort = 8180;
|
||||
|
||||
static getTransport (url, sysuiToken) {
|
||||
|
@ -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': ''
|
||||
@ -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
|
||||
}));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user