ctucx.git: nixfiles

ctucx' nixfiles

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
From 40aaff52b3989ffc67a1f53f69ab5374e8780d61 Mon Sep 17 00:00:00 2001
From: "Leah (ctucx)" <git@ctu.cx>
Date: Wed, 25 Oct 2023 10:29:48 +0200
Subject: [PATCH] public/auth.js: hardcode instance-url

---
 public/auth.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/auth.js b/public/auth.js
index 6066b6896..d49281c72 100644
--- a/public/auth.js
+++ b/public/auth.js
@@ -3,7 +3,7 @@ document.addEventListener("DOMContentLoaded", async function() {
 });
 
 async function ready() {
-  const domain = localStorage.getItem('domain');
+  const domain = "fedi.ctu.cx";
   let accessToken = localStorage.getItem(`access_token`);
 
   if (domain) document.getElementById('instance').value = domain;
-- 
2.40.1