Skip to content

Commit

Permalink
Release v1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcHagen committed Feb 15, 2021
2 parents f22fec8 + 660c470 commit 60dee9e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
---
## [Unreleased]

---
## [1.0.6] (2021-02-15)

## New Features
* Ability to change the host port.

---
## [1.0.5] (2021-02-12)

Expand Down
13 changes: 11 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,14 @@ class EpiphanPearl extends instanceSkel {
default: '127.0.0.1',
regex: this.REGEX_IP,
},
{
type: 'textinput',
id: 'host_port',
label: 'Target Port',
width: 6,
default: '80',
regex: this.REGEX_PORT,
},
{
type: 'textinput',
id: 'username',
Expand All @@ -278,7 +286,7 @@ class EpiphanPearl extends instanceSkel {
id: 'password',
label: 'Password',
width: 6,
default: 'changeme',
default: '',
},
];
}
Expand Down Expand Up @@ -606,7 +614,8 @@ class EpiphanPearl extends instanceSkel {
}) {
const self = this;
const apiHost = this.config.host,
baseUrl = 'http://' + apiHost + ':8850';
apiPort = this.config.host_port,
baseUrl = 'http://' + apiHost + ':' + apiPort;

if (url === null || url === '') {
this._setStatus(this.STATUS_ERROR, 'No URL given for _sendRequest');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "epiphan-pearl",
"version": "1.0.5",
"version": "1.0.6",
"manufacturer": "Epiphan",
"product": "Pearl",
"shortname": "pearl",
Expand Down

0 comments on commit 60dee9e

Please sign in to comment.