Self-hosted, federated location sharing app and server that prioritizes user privacy and security
end-to-end-encryption
location-sharing
privacy
self-hosted
federated
1<script type="module">
2 import { Store } from "/src/utils/store.ts";
3
4 // For testing (to easily go to home or signup page). You only need to uncomment the right line, run it once, and comment it out again right after
5 // await Store.reset();
6 // await Store.set("user_id", "adummyuserid");
7
8 if (await Store.isLoggedIn()) {
9 window.location.href = "/src/home-page/home.html";
10 } else {
11 window.location.href = "/src/signup-page/signup.html";
12 }
13</script>