Switch to using .catch(()=>{}) instead of try catch
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Bad 2020-10-22 07:50:50 +02:00
commit 0113024be6

View file

@ -5,5 +5,5 @@ import $to_relative "/js/sync/sync.js"
import $to_relative "/js/chat.js"
if (!localStorage.getItem("access_token")) {
location.assign("./login")
location.assign("./login/")
}