From 659df00cc9e8b7aab30b27bd76a7aba0f2a466a0 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Tue, 14 Apr 2026 23:41:40 +0000 Subject: [PATCH] Allow refreshing the oauth token in the frontend --- sync/routes.go | 2 +- ts/view/configuration/Integration.vue | 4 ++-- vite/sync/vite.config.js | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/sync/routes.go b/sync/routes.go index 0f5f953a..9defd13b 100644 --- a/sync/routes.go +++ b/sync/routes.go @@ -7,7 +7,7 @@ import ( func Router(r *mux.Router) { // Unauthenticated endpoints - r.HandleFunc("/arcgis/oauth/begin", getArcgisOauthBegin) + r.HandleFunc("/oauth/arcgis/begin", getArcgisOauthBegin) r.HandleFunc("/arcgis/oauth/callback", getArcgisOauthCallback) r.HandleFunc("/mailer/pool/random", getMailerPoolRandom) r.HandleFunc("/mailer/mode-1", getMailer1) diff --git a/ts/view/configuration/Integration.vue b/ts/view/configuration/Integration.vue index dfae52c9..a565d3ca 100644 --- a/ts/view/configuration/Integration.vue +++ b/ts/view/configuration/Integration.vue @@ -76,11 +76,11 @@
- + - +