From 45800d46e7e057f9ad8b37de581f7041808ce40c Mon Sep 17 00:00:00 2001 From: nberting Date: Fri, 8 Jun 2018 17:09:04 +0200 Subject: [PATCH] fixed mistake with socket port --- app/templates/base.html | 2 +- app/templates/red_link.html | 16 +++++++--------- app/templates/show_book_detail.html | 7 +++---- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/app/templates/base.html b/app/templates/base.html index 44fb505..76a7e06 100755 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -60,7 +60,7 @@ console.log(time) return ('0'+time.getDate()).slice(-2) + '.' + ('0'+(time.getMonth()+1)).slice(-2) + '.' + time.getFullYear() +" " + ('0'+time.getHours()).slice(-2)+":"+ ('0'+time.getMinutes()).slice(-2); } //change addr when ONLINE::::::-> -var socket = io.connect('http://localhost:8080'); +var socket = io.connect('http://localhost:5000'); var app = new Vue({ el: "#app", delimiters: ['[[', ']]'], diff --git a/app/templates/red_link.html b/app/templates/red_link.html index 43a331a..b86a30b 100755 --- a/app/templates/red_link.html +++ b/app/templates/red_link.html @@ -5,14 +5,14 @@ {% block css %}