-
Notifications
You must be signed in to change notification settings - Fork 820
feat(integrations): automatically disable googlereader/fever when not used #3543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -49,6 +49,7 @@ func Serve(router *mux.Router, store *storage.Storage) { | |
| sr := router.PathPrefix("/reader/api/0").Subrouter() | ||
| sr.Use(middleware.handleCORS) | ||
| sr.Use(middleware.apiKeyAuth) | ||
| sr.Use(middleware.maybeUnauthorizedGoogleReader) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The middleware is not executed for the
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. They can already do this on the login page, having this route available doesn't significantly make things worse
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In that case, I don't see the benefit of this pull-request. The |
||
| sr.Methods(http.MethodOptions) | ||
| sr.HandleFunc("/token", handler.tokenHandler).Methods(http.MethodGet).Name("Token") | ||
| sr.HandleFunc("/edit-tag", handler.editTagHandler).Methods(http.MethodPost).Name("EditTag") | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.