feat: minimal UI for login
This commit is contained in:
@@ -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:]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user