chores: Lint + dependency update

This commit is contained in:
Liyas Thomas
2020-09-27 23:34:15 +05:30
parent ee066d7859
commit 7e1e61f8af
12 changed files with 63 additions and 68 deletions

View File

@@ -14,14 +14,10 @@
/>
</li>
<div>
<li>
<label for="socketio-path">{{ $t("path") }}</label>
<input
id="socketio-path"
spellcheck="false"
v-model="path"
/>
</li>
<li>
<label for="socketio-path">{{ $t("path") }}</label>
<input id="socketio-path" spellcheck="false" v-model="path" />
</li>
</div>
<div>
<li>
@@ -125,11 +121,11 @@ export default {
]
try {
if(!this.path){
this.path = '/socket.io'
if (!this.path) {
this.path = "/socket.io"
}
this.io = new io(this.url,{
path: this.path
this.io = new io(this.url, {
path: this.path,
})
// Add ability to listen to all events
wildcard(io.Manager)(this.io)