We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f1e4d4 commit c495c06Copy full SHA for c495c06
1 file changed
js/app.js
@@ -1001,3 +1001,13 @@ function showUpdatePopup() {
1001
}
1002
1003
if (navigator.onLine) checkForAppUpdate();
1004
+
1005
+// Fatch app version from Github RAW
1006
+fetch("https://raw.githubusercontent.com/WorkofAditya/ChatBot/main/version.txt")
1007
+ .then(response => response.text())
1008
+ .then(data => {
1009
+ document.getElementById("appVersion").textContent = data.trim();
1010
+ })
1011
+ .catch(() => {
1012
+ document.getElementById("appVersion").textContent = "Unknown";
1013
+ });
0 commit comments