Setting variables to prod variables

This commit is contained in:
mrfry 2021-01-29 16:46:55 +01:00
parent 0a27b737cc
commit d71556b6a8

View file

@ -110,7 +110,7 @@
const logEnabled = true const logEnabled = true
const showErrors = true const showErrors = true
// forcing pages for testing. unless you test, do not set these to 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 // only one of these should be true for testing
const forceTestPage = false const forceTestPage = false
const forceResultPage = false const forceResultPage = false
@ -144,7 +144,9 @@
apiAdress = 'http://localhost:8080/' 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 {{{ // : Localisation {{{