Skip to content

Commit

Permalink
fix #85
Browse files Browse the repository at this point in the history
  • Loading branch information
oznu committed Apr 19, 2018
1 parent ad8e9f9 commit 939c23c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/).

## 3.5.4 (2018-04-19)

### Notable Changes

* Added `wsocket` prefix to websocket connection to make reverse proxying easier for some users ([#85](https://github.com/oznu/homebridge-config-ui-x/issues/85))

## 3.5.3 (2018-04-16)

### Bug Fixes
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": "homebridge-config-ui-x",
"version": "3.5.3",
"version": "3.5.4",
"description": "Configuration UI plugin for Homebridge",
"license": "MIT",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/_services/ws.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class WsService {

listen() {
this.$api.getToken().subscribe((auth: any) => {
this.socket = new (<any>window).WebSocket(`${this.url}/?token=${this.$auth.user.token}`);
this.socket = new (<any>window).WebSocket(`${this.url}/wsocket?token=${this.$auth.user.token}`);

this.socket.onopen = () => {
this.open.emit(null);
Expand Down

0 comments on commit 939c23c

Please sign in to comment.