diff --git a/index.html b/index.html
index e8b9369..829a9d5 100644
--- a/index.html
+++ b/index.html
@@ -106,7 +106,7 @@ __ __ _____ __ __ _____
-
This webUI is in alpha, please be patient and let us know of any problems or suggestions you have.
+
This webUI is in alpha, please be patient and let us know of any problems or suggestions you have.
diff --git a/main.js b/main.js
index 6384041..57c62cc 100644
--- a/main.js
+++ b/main.js
@@ -280,6 +280,9 @@ let app = createApp({
setInterval(()=>{
this.getCredits()
}, 30000)
+ if (document.location.hostname.endsWith(".onion")){
+ this.backend = "http://api.xmr4smsoncunkfgfjr6xmxl57afsmuu6rg2bwuysbgg4wdtoawamwxad.onion/"
+ }
}
})