Update loader.js

This commit is contained in:
jabdoa2 2023-03-29 18:03:40 +02:00 committed by GitHub
parent 5287ecf4d4
commit 0fa1388e49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1019,7 +1019,7 @@
this.icinga.logger.debug(
'Request to ' + url + ' return 401. Will refresh page to trigger new login.'
);
window.refresh();
window.location.reload();
} else if (req.status > 0 && req.status < 501) {
this.icinga.logger.error(
req.status,