mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Add sentry tracing for redirects endpoint
This commit is contained in:
parent
b9e834b3de
commit
443e624cf0
1 changed files with 2 additions and 1 deletions
|
@ -76,7 +76,8 @@ const ALLOWED_HTTP_TRANSACTIONS = [
|
|||
'/members/api', // any Members API call
|
||||
'/:slug', // any frontend post/page
|
||||
'/author', // any frontend author page
|
||||
'/tag' // any frontend tag page
|
||||
'/tag', // any frontend tag page
|
||||
'/r' // any email redirect
|
||||
].map((path) => {
|
||||
// Sentry names HTTP transactions like: "<HTTP_METHOD> <PATH>" i.e. "GET /ghost/api/content/settings"
|
||||
// Match any of the paths above with any HTTP method, and also the homepage "GET /"
|
||||
|
|
Loading…
Add table
Reference in a new issue