Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

use swetrixcaptcha.com domain

Blue Mouse3d14fa0e0783
diff --git a/README.md b/README.md
index fcbed3e84..100b9d460 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,3 @@ For severe security issues, please contact us at [email protected]
## Contact
You can contact us via email at [email protected]
-
-## Donate
-You can support the project by donating us at https://ko-fi.com/andriir \
-We can only run our services by once again asking for your financial support!
diff --git a/src/captcha-loader.ts b/src/captcha-loader.ts
index 1a6d9af62..f12114614 100644
--- a/src/captcha-loader.ts
+++ b/src/captcha-loader.ts
@@ -2,8 +2,8 @@
const isDevelopment = window.__SWETRIX_CAPTCHA_DEV || false
const CAPTCHA_SELECTOR = '.swecaptcha'
-const LIGHT_CAPTCHA_IFRAME_URL = isDevelopment ? './light.html' : 'https://cap.swetrix.com/pages/light'
-const DARK_CAPTCHA_IFRAME_URL = isDevelopment ? './dark.html' : 'https://cap.swetrix.com/pages/dark'
+const LIGHT_CAPTCHA_IFRAME_URL = isDevelopment ? './light.html' : 'https://cdn.swetrixcaptcha.com/pages/light'
+const DARK_CAPTCHA_IFRAME_URL = isDevelopment ? './dark.html' : 'https://cdn.swetrixcaptcha.com/pages/dark'
const DEFAULT_RESPONSE_INPUT_NAME = 'swetrix-captcha-response'
const MESSAGE_IDENTIFIER = 'swetrix-captcha'
const ID_PREFIX = 'swetrix-captcha-'
diff --git a/src/captcha.ts b/src/captcha.ts
index 67cd8eac0..03c9e1a83 100644
--- a/src/captcha.ts
+++ b/src/captcha.ts
@@ -3,8 +3,8 @@ export {}
// @ts-ignore
const isDevelopment = window.__SWETRIX_CAPTCHA_DEV || false
-const API_URL = isDevelopment ? 'http://localhost:5005/v1/captcha' : 'https://api.swetrix.com/v1/captcha'
-const WORKER_URL = isDevelopment ? './pow-worker.js' : 'https://cap.swetrix.com/pow-worker.js'
+const API_URL = isDevelopment ? 'http://localhost:5005/v1/captcha' : 'https://api.swetrixcaptcha.com/v1/captcha'
+const WORKER_URL = isDevelopment ? './pow-worker.js' : 'https://cdn.swetrixcaptcha.com/pow-worker.js'
const MSG_IDENTIFIER = 'swetrix-captcha'
const CAPTCHA_TOKEN_LIFETIME = 300 // seconds (5 minutes).