Skip to content

Commit c3883a0

Browse files
committed
Merge branch 'release/0.2.2-beta'
2 parents c84ac17 + 9f75f40 commit c3883a0

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

CHANGELOG.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9-
## [0.4.1] - 2018-02-04
9+
## [0.2.2] - 2018-02-04
10+
11+
### Changed
12+
- Fixed api hostname and logging.
13+
14+
## [0.2.1] - 2018-02-04
1015

1116
### Changed
1217
- Fixed api requests overflooding.
1318

14-
## [0.4.0] - 2018-02-04
19+
## [0.2.0] - 2018-02-04
1520

1621
### BREAKING CHANGE
1722
- The url structure has changed. Please read the README!

build/nelson.gui.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ process.on('unhandledRejection', function (reason, p) {
2727
console.log('Unhandled Rejection at: Promise', p, 'reason:', reason);
2828
});
2929

30-
program.version(version).option('-p, --port [value]', 'Nelson GUI port', parseNumber, 5000).option('-a, --apiPort [value]', 'Nelson API port', parseNumber, 18600).option('-h, --apiHostname [value]', 'Nelson API hostname', 'mainnet.deviota.com').parse(process.argv);
30+
program.version(version).option('-p, --port [value]', 'Nelson GUI port', parseNumber, 5000).option('-a, --apiPort [value]', 'Nelson API port', parseNumber, 18600).option('-h, --apiHostname [value]', 'Nelson API hostname', 'localhost').parse(process.argv);
3131

3232
// Define the port to run on
3333
app.set('port', process.env.NELSON_GUI_PORT || program.port);
@@ -70,7 +70,7 @@ function proxy(req, resp) {
7070
return;
7171
}
7272
if (r.statusCode === 401) {
73-
console.log('Remote access denied', req.query, opts);
73+
console.log('Remote access denied');
7474
resp.status(401);
7575
return;
7676
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nelson.gui",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/SemkoDev/nelson.gui.git"

src/nelson.gui.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ program
2525
.version(version)
2626
.option('-p, --port [value]', 'Nelson GUI port', parseNumber, 5000)
2727
.option('-a, --apiPort [value]', 'Nelson API port', parseNumber, 18600)
28-
.option('-h, --apiHostname [value]', 'Nelson API hostname', 'mainnet.deviota.com')
28+
.option('-h, --apiHostname [value]', 'Nelson API hostname', 'localhost')
2929
.parse(process.argv);
3030

3131
// Define the port to run on
@@ -68,7 +68,7 @@ function proxy (req, resp) {
6868
return;
6969
}
7070
if (r.statusCode === 401) {
71-
console.log('Remote access denied', req.query, opts);
71+
console.log('Remote access denied');
7272
resp.status(401);
7373
return;
7474
}

0 commit comments

Comments
 (0)