Fix oauth callback for arcgis to be under oauth prefix
That way it gets through the Vite proxy.
This commit is contained in:
parent
659df00cc9
commit
8ebcff7390
2 changed files with 2 additions and 2 deletions
|
|
@ -209,5 +209,5 @@ func Parse() (err error) {
|
|||
}
|
||||
|
||||
func ArcGISOauthRedirectURL() string {
|
||||
return MakeURLNidus("/arcgis/oauth/callback")
|
||||
return MakeURLNidus("/oauth/arcgis/callback")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue