Commit d739debe authored by nopara73's avatar nopara73

Change default ports

parent d13953ad
...@@ -107,7 +107,7 @@ function closeBitcoinApi() { ...@@ -107,7 +107,7 @@ function closeBitcoinApi() {
var http1 = require('http'); var http1 = require('http');
const options1 = { const options1 = {
hostname: 'localhost', hostname: 'localhost',
port: 5000, port: 37220,
path: '/api/node/shutdown', path: '/api/node/shutdown',
method: 'POST' method: 'POST'
}; };
...@@ -123,7 +123,7 @@ function closeStratisApi() { ...@@ -123,7 +123,7 @@ function closeStratisApi() {
var http2 = require('http'); var http2 = require('http');
const options2 = { const options2 = {
hostname: 'localhost', hostname: 'localhost',
port: 5105, port: 37221,
path: '/api/node/shutdown', path: '/api/node/shutdown',
method: 'POST' method: 'POST'
}; };
......
...@@ -26,9 +26,9 @@ export class ApiService { ...@@ -26,9 +26,9 @@ export class ApiService {
private headers = new Headers({'Content-Type': 'application/json'}); private headers = new Headers({'Content-Type': 'application/json'});
private pollingInterval = 3000; private pollingInterval = 3000;
private bitcoinApiUrl = 'http://localhost:5000/api'; private bitcoinApiUrl = 'http://localhost:37220/api';
private stratisApiUrl = 'http://localhost:5105/api'; private stratisApiUrl = 'http://localhost:37221/api';
private currentApiUrl = 'http://localhost:5000/api'; private currentApiUrl = 'http://localhost:37220/api';
private getCurrentCoin() { private getCurrentCoin() {
let currentCoin = this.globalService.getCoinName(); let currentCoin = this.globalService.getCoinName();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment