feat: minimal UI for login

This commit is contained in:
2025-04-11 11:08:33 +01:00
parent c9a6c83649
commit 2302ba5eeb
5 changed files with 86 additions and 0 deletions

View File

@@ -62,6 +62,10 @@ func main() {
})
})
r.Options("/*", func(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
})
r.Get("/image", func(w http.ResponseWriter, r *http.Request) {
token := r.Header.Get("Authorization")[7:]