Intranet vhost page: accept HTTP 426 for project gathering

This commit is contained in:
cytopia 2022-12-26 22:59:13 +01:00
parent a1fa5724e8
commit 634b9af7e5
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -83,7 +83,7 @@
var el_valid;
var el_href;
if (this.readyState == 4 && this.status == 200) {
if (this.readyState == 4 && this.status == 200 || this.status == 426) {
el_valid = document.getElementById('valid-' + vhost);
el_href = document.getElementById('href-' + vhost);
error = this.responseText;