From e42d46abfdda55f56e2c5132c040e3137d51f041 Mon Sep 17 00:00:00 2001
From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de>
Date: Mon, 9 Nov 2020 14:10:06 +0100
Subject: [PATCH] patched fixed js paths with references relative to /

---
 views/DE/account/home.pug         | 2 +-
 views/DE/account/profile.pug      | 2 +-
 views/DE/account/registration.pug | 2 +-
 views/DE/account/security.pug     | 2 +-
 views/DE/account/services.pug     | 2 +-
 views/EN/account/forgotPwd.pug    | 2 +-
 views/EN/account/registration.pug | 2 +-
 views/EN/account/reset.pug        | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/views/DE/account/home.pug b/views/DE/account/home.pug
index 54c4ced0..95898ac4 100644
--- a/views/DE/account/home.pug
+++ b/views/DE/account/home.pug
@@ -54,7 +54,7 @@ html(lang="de")
     // Bootstrap
     script(src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous")
     // M4_LAB
-    script(src="https://m4lab.hft-stuttgart.de/js/headfoot.js")
+    script(src="/js/headfoot.js")
     script.
         // call verifyAccount
         function verify() {
diff --git a/views/DE/account/profile.pug b/views/DE/account/profile.pug
index 190fc1c7..d21fd923 100644
--- a/views/DE/account/profile.pug
+++ b/views/DE/account/profile.pug
@@ -101,4 +101,4 @@ html(lang="de")
     // Bootstrap
     script(src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous")
     // M4_LAB
-    script(src="https://m4lab.hft-stuttgart.de/js/headfoot.js")
\ No newline at end of file
+    script(src="/js/headfoot.js")
\ No newline at end of file
diff --git a/views/DE/account/registration.pug b/views/DE/account/registration.pug
index 39fc405d..401af467 100644
--- a/views/DE/account/registration.pug
+++ b/views/DE/account/registration.pug
@@ -78,4 +78,4 @@ html(lang="de")
     // M4_LAB
     script(src="/js/generalFunction.js")
     script(src="/js/registration.js")
-    script(src="https://m4lab.hft-stuttgart.de/js/headfoot.js")
\ No newline at end of file
+    script(src="/js/headfoot.js")
\ No newline at end of file
diff --git a/views/DE/account/security.pug b/views/DE/account/security.pug
index 81da0660..712a5661 100644
--- a/views/DE/account/security.pug
+++ b/views/DE/account/security.pug
@@ -74,7 +74,7 @@ html(lang="de")
     // M4_LAB
     script(src="/js/security.js")
     script(src="/js/generalFunction.js")
-    script(src="https://m4lab.hft-stuttgart.de/js/headfoot.js")
+    script(src="/js/headfoot.js")
     script.
         // check input fields
         'use strict';
diff --git a/views/DE/account/services.pug b/views/DE/account/services.pug
index a2015cd9..8ef010bd 100644
--- a/views/DE/account/services.pug
+++ b/views/DE/account/services.pug
@@ -43,4 +43,4 @@ html(lang="de")
     // Bootstrap
     script(src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous")
     // M4_LAB
-    script(src="https://m4lab.hft-stuttgart.de/js/headfoot.js")
\ No newline at end of file
+    script(src="/js/headfoot.js")
\ No newline at end of file
diff --git a/views/EN/account/forgotPwd.pug b/views/EN/account/forgotPwd.pug
index 985793b0..7688a512 100644
--- a/views/EN/account/forgotPwd.pug
+++ b/views/EN/account/forgotPwd.pug
@@ -53,4 +53,4 @@ html(lang="en")
     // Bootstrap
     script(src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous")
     // M4_LAB
-    script(src="https://transfer.hft-stuttgart.de/js/headfoot.js")
+    script(src="/js/headfoot.js")
diff --git a/views/EN/account/registration.pug b/views/EN/account/registration.pug
index 2e1aba4c..25096b15 100644
--- a/views/EN/account/registration.pug
+++ b/views/EN/account/registration.pug
@@ -89,4 +89,4 @@ html(lang="en")
     // M4_LAB
     script(src="/js/generalFunction.js")
     script(src="/js/registration.js")
-    script(src="https://transfer.hft-stuttgart.de/js/headfoot.js")
\ No newline at end of file
+    script(src="/js/headfoot.js")
\ No newline at end of file
diff --git a/views/EN/account/reset.pug b/views/EN/account/reset.pug
index 606b304f..610a914e 100644
--- a/views/EN/account/reset.pug
+++ b/views/EN/account/reset.pug
@@ -57,4 +57,4 @@ html(lang="en")
     // M4_LAB
     script(src="/js/security.js")
     script(src="/js/generalFunction.js")
-    script(src="https://transfer.hft-stuttgart.de/js/headfoot.js")
+    script(src="/js/headfoot.js")
-- 
GitLab