0
Fork 0
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:
Steve Larson 2024-12-18 08:31:36 -06:00
parent b9e834b3de
commit 443e624cf0

View file

@ -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 /"