Fixed logo

This commit is contained in:
Magnus Åhall 2025-08-06 11:21:43 +02:00
parent 66c1c2198b
commit a77b72f22d

View file

@ -117,7 +117,7 @@ func pageIndex(w http.ResponseWriter, r *http.Request) {
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
</head>
<body style="margin: 32px">
<div style="margin-bottom: 32px"><img src="/images/logo.svg"></div>
<div style="margin-bottom: 32px"><img src="https://u-lug.org/images/logo.svg"></div>
<div>Skapar länk...</div>
<div id="link"></div>
@ -164,7 +164,6 @@ func createInvite(w http.ResponseWriter, r *http.Request) {
email := fmt.Sprintf("%08d@example.com", seq)
expire := time.Now().Add(time.Hour * 24 * 7)
if false {
// legacy_object
key := fmt.Sprintf("invitation:uid:2:invited:%s", email)
_, err = db.Exec(` INSERT INTO public.legacy_object(_key, "type", "expireAt") VALUES($1, 'string', null)`, key)
@ -217,7 +216,6 @@ func createInvite(w http.ResponseWriter, r *http.Request) {
w.Write([]byte(err.Error()))
return
}
}
j, _ := json.Marshal(struct {
Link string