diff --git a/docker-compose.yml b/docker-compose.yml index 449fee9..22ec666 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,7 +14,7 @@ services: - VIMEO_API_KEY={VIMEO_API_KEY} - PATREON_CLIENT_ID={PATREON_CLIENT_ID} - PATREON_SECRET={PATREON_SECRET} - - PATREON_REDIRECT_URL=https://podsync.net/patreon + - PATREON_REDIRECT_URL=https://podsync.net/user/patreon - PATREON_WEBHOOKS_SECRET={PATREON_WEBHOOKS_SECRET} - COOKIE_SECRET={COOKIE_SECRET} - GIN_MODE=release diff --git a/pkg/handler/handler.go b/pkg/handler/handler.go index 126032e..810a8f4 100644 --- a/pkg/handler/handler.go +++ b/pkg/handler/handler.go @@ -71,9 +71,9 @@ func New(feed feedService, support patreonService, cfg *config.AppConfig) http.H // Handlers - r.GET("/login", h.login) - r.GET("/logout", h.logout) - r.GET("/patreon", h.patreonCallback) + r.GET("/user/login", h.login) + r.GET("/user/logout", h.logout) + r.GET("/user/patreon", h.patreonCallback) r.GET("/api/ping", h.ping) r.GET("/api/user", h.user) diff --git a/templates/index.html b/templates/index.html index ece0b5d..7b77363 100644 --- a/templates/index.html +++ b/templates/index.html @@ -14,7 +14,7 @@