diff --git a/stable.user.js b/stable.user.js index 2b89b3f..b6fdf85 100755 --- a/stable.user.js +++ b/stable.user.js @@ -110,7 +110,7 @@ const logEnabled = true const showErrors = true // forcing pages for testing. unless you test, do not set these to true! - setVal('ISDEVEL', true) + setVal('ISDEVEL', false) // only one of these should be true for testing const forceTestPage = false const forceResultPage = false @@ -144,7 +144,9 @@ apiAdress = 'http://localhost:8080/' } - const currUrl = 'https://elearning.uni-obuda.hu/' // location.href TODO + const currUrl = location.href.includes('file:///') + ? 'https://elearning.uni-obuda.hu/' + : location.href // : Localisation {{{