Check version from appwrite.io

This commit is contained in:
Eldad Fux
2022-01-13 13:10:05 +02:00
parent babd77f663
commit 95313ec122
+1 -1
View File
@@ -7,7 +7,7 @@
if (!cookie.get(cookieName)) {
var xhr = new XMLHttpRequest();
xhr.open('GET', '/console/version', true);
xhr.open('GET', 'https://appwrite.io/console/version', true);
xhr.onload = function () {
if (this.readyState == 4 && this.status == 200) {