Skip to content

Commit be4d31f

Browse files
committed
Merge branch 'release/1.0.9'
2 parents f1cfd3d + 5ea6afb commit be4d31f

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
<a name="1.0.9"></a>
2+
## [1.0.9](https://github.com/adonisjs/adonis-websocket-client/compare/v1.0.8...v1.0.9) (2018-03-21)
3+
4+
5+
### Bug Fixes
6+
7+
* **connection:** use location.host over hostname ([4a5367d](https://github.com/adonisjs/adonis-websocket-client/commit/4a5367d))
8+
9+
10+
111
<a name="1.0.8"></a>
212
## [1.0.8](https://github.com/adonisjs/adonis-websocket-client/compare/v1.0.7...v1.0.8) (2018-03-21)
313

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@adonisjs/websocket-client",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"description": "Websocket client for AdonisJs",
55
"main": "dist/Ws.es.js",
66
"module": "dist/Ws.es.js",

src/Connection/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default class Connection extends Emitter {
3838
constructor (url, options) {
3939
super()
4040

41-
url = url || `${wsProtocol}://${window.location.hostname}`
41+
url = url || `${wsProtocol}://${window.location.host}`
4242

4343
/**
4444
* Connection options

0 commit comments

Comments
 (0)