Fixed logo
This commit is contained in:
parent
66c1c2198b
commit
a77b72f22d
1 changed files with 46 additions and 48 deletions
4
main.go
4
main.go
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue