Browse Source

set default port 3111

thomas 3 years ago
parent
commit
2eb35cd085
1 changed files with 2 additions and 8 deletions
  1. 2 8
      src/components/UIClient.vue

+ 2 - 8
src/components/UIClient.vue

@@ -188,7 +188,7 @@ export default class UiClient extends Vue {
     userName: null,
     cancelRequest: null,
   }
-  url = 'http://swopt.com:3011';
+  url = 'http://localhost:3111';
   messages: Message[] = [];
   loading: boolean = false
   modal: boolean = false
@@ -199,12 +199,7 @@ export default class UiClient extends Vue {
     messages: [],
   }
 
-  dosomething = Trottle(() => {
-      const zz = 'ssss';
-      console.log('done ' + zz)
-  },1000, { trailing: false })
-  
-  startLoading() {
+    startLoading() {
     this.loading = true
   }
   endLoading() {
@@ -220,7 +215,6 @@ export default class UiClient extends Vue {
   }
   addMessage(text:string) {
     this.messages.unshift({ id: Symbol(),text })
-    // this.messages.push({ id: Symbol(), text })
   }
 
   async stopConnection() {