From d09b715ff4bd51c8768ab50534fe6b259b3ec2e0 Mon Sep 17 00:00:00 2001 From: Alexandros Sigaras Date: Wed, 3 Feb 2021 13:04:30 -0500 Subject: [PATCH] Changed year and bumped version to 1.2.0 --- src/api/version.py | 2 +- src/static/assets/stork.js | 1 + src/static/index.html | 4 ++-- src/static/login.html | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/api/version.py b/src/api/version.py index 7cb55d7..fa7867e 100644 --- a/src/api/version.py +++ b/src/api/version.py @@ -1,4 +1,4 @@ -version = '1.0.0' +version = '1.2.0' def api_version(): return version \ No newline at end of file diff --git a/src/static/assets/stork.js b/src/static/assets/stork.js index 2620e0a..cf359b2 100644 --- a/src/static/assets/stork.js +++ b/src/static/assets/stork.js @@ -6,6 +6,7 @@ const baseApiUrl = 'api' let token = getCookie('stork-auth'); checkTokenAndRedirectIfEmpty(); +document.getElementById('year').innerHTML = new Date().getFullYear(); setInterval(function(){ checkTokenAndRedirectIfEmpty(); }, 5000); diff --git a/src/static/index.html b/src/static/index.html index 8a433b7..a8d1fb2 100644 --- a/src/static/index.html +++ b/src/static/index.html @@ -54,8 +54,8 @@
diff --git a/src/static/login.html b/src/static/login.html index 046179c..bc6e74b 100644 --- a/src/static/login.html +++ b/src/static/login.html @@ -40,8 +40,8 @@
Log in