Commit d000d221 authored by Pieterjan Vanhoof's avatar Pieterjan Vanhoof Committed by GitHub

Merge pull request #242 from nopara73/ports

Change default ports
parents 6be3bd9e d739debe
......@@ -107,7 +107,7 @@ function closeBitcoinApi() {
var http1 = require('http');
const options1 = {
hostname: 'localhost',
port: 5000,
port: 37220,
path: '/api/node/shutdown',
method: 'POST'
};
......@@ -123,7 +123,7 @@ function closeStratisApi() {
var http2 = require('http');
const options2 = {
hostname: 'localhost',
port: 5105,
port: 37221,
path: '/api/node/shutdown',
method: 'POST'
};
......
......@@ -26,9 +26,9 @@ export class ApiService {
private headers = new Headers({'Content-Type': 'application/json'});
private pollingInterval = 3000;
private bitcoinApiUrl = 'http://localhost:5000/api';
private stratisApiUrl = 'http://localhost:5105/api';
private currentApiUrl = 'http://localhost:5000/api';
private bitcoinApiUrl = 'http://localhost:37220/api';
private stratisApiUrl = 'http://localhost:37221/api';
private currentApiUrl = 'http://localhost:37220/api';
private getCurrentCoin() {
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