Browse Source

Quick fix of Kris's frontend Station code

theflametrooper 8 years ago
parent
commit
89c288b0e2
2 changed files with 1 additions and 1 deletions
  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;