Large 0.3 changes
CI and release / Detect release commit (push) Successful in 27s
CI and release / Run tests (push) Successful in 4m14s
CI and release / Build and publish container (push) Successful in 9m2s
CI and release / Create release (push) Skipped

- Split the gigantic mess that web.rs was into seperate files
- Split the app into two clear functions: web and bot
- Add privacy policy
- Add privacy
- Make the site respect GDPR and Discord ToS
- Add basic API
- Add timezone detection and automatic time changes
This commit is contained in:
Elias Wendland committed 2026-08-31 17:10:02 +02:00
1 parent 96a8c9ea8c
commit 126b9e9e9f
23 files changed
+3876 -2767

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
(() => {
const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
if (!timezone) return;
fetch("/timezone", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({timezone}),
}).then(response => {
if (response.ok) window.location.reload();
});
})();