Fix oauth callback for arcgis to be under oauth prefix

That way it gets through the Vite proxy.
This commit is contained in:
Eli Ribble 2026-04-14 23:43:53 +00:00
parent 659df00cc9
commit 8ebcff7390
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ import (
func Router(r *mux.Router) {
// Unauthenticated endpoints
r.HandleFunc("/oauth/arcgis/begin", getArcgisOauthBegin)
r.HandleFunc("/arcgis/oauth/callback", getArcgisOauthCallback)
r.HandleFunc("/oauth/arcgis/callback", getArcgisOauthCallback)
r.HandleFunc("/mailer/pool/random", getMailerPoolRandom)
r.HandleFunc("/mailer/mode-1", getMailer1)
r.HandleFunc("/mailer/mode-2", getMailer2)