Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Breeze
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
Breeze
Commits
d000d221
Commit
d000d221
authored
Sep 28, 2017
by
Pieterjan Vanhoof
Committed by
GitHub
Sep 28, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #242 from nopara73/ports
Change default ports
parents
6be3bd9e
d739debe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
main.ts
Breeze.UI/main.ts
+2
-2
api.service.ts
Breeze.UI/src/app/shared/services/api.service.ts
+3
-3
No files found.
Breeze.UI/main.ts
View file @
d000d221
...
...
@@ -107,7 +107,7 @@ function closeBitcoinApi() {
var
http1
=
require
(
'http'
);
const
options1
=
{
hostname
:
'localhost'
,
port
:
500
0
,
port
:
3722
0
,
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'
};
...
...
Breeze.UI/src/app/shared/services/api.service.ts
View file @
d000d221
...
...
@@ -26,9 +26,9 @@ export class ApiService {
private
headers
=
new
Headers
({
'Content-Type'
:
'application/json'
});
private
pollingInterval
=
3000
;
private
bitcoinApiUrl
=
'http://localhost:
500
0/api'
;
private
stratisApiUrl
=
'http://localhost:
5105
/api'
;
private
currentApiUrl
=
'http://localhost:
500
0/api'
;
private
bitcoinApiUrl
=
'http://localhost:
3722
0/api'
;
private
stratisApiUrl
=
'http://localhost:
37221
/api'
;
private
currentApiUrl
=
'http://localhost:
3722
0/api'
;
private
getCurrentCoin
()
{
let
currentCoin
=
this
.
globalService
.
getCoinName
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment