瀏覽代碼

Quick fix of Kris's frontend Station code

theflametrooper 8 年之前
父節點
當前提交
89c288b0e2
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 1 0
      frontend/App.vue
  2. 0 1
      frontend/components/pages/Home.vue

+ 1 - 0
frontend/App.vue

@@ -33,6 +33,7 @@
 		},
 		ready() {
 			let _this = this;
+			lofig.folder = '../config/default.json';
 			lofig.get('socket.url', function(res) {
 				let socket = _this.socket = io(window.location.protocol + '//' + res);
 				socket.on("ready", status => _this.loggedIn = status);

+ 0 - 1
frontend/components/pages/Home.vue

@@ -114,7 +114,6 @@
 				_this.recaptcha.key = key;
 			});
 
-
 			let socketInterval = setInterval(() => {
 				if (!!_this.$parent.socket) {
 					_this.socket = _this.$parent.socket;