File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ export default function (app) {
138138 app . set ( 'trust proxy' , 1 )
139139 app . use ( rateLimit )
140140 app . use ( instrument ( handleInvalidPaths , './handle-invalid-paths' ) )
141- app . use ( instrument ( handleNextDataPath , './handle-next-data-path' ) )
141+ app . use ( asyncMiddleware ( instrument ( handleNextDataPath , './handle-next-data-path' ) ) )
142142
143143 // *** Security ***
144144 app . use ( cors )
@@ -212,7 +212,7 @@ export default function (app) {
212212 // *** Preparation for render-page: contextualizers ***
213213 app . use ( asyncMiddleware ( instrument ( releaseNotes , './contextualizers/release-notes' ) ) )
214214 app . use ( instrument ( graphQL , './contextualizers/graphql' ) )
215- app . use ( instrument ( rest , './contextualizers/rest' ) )
215+ app . use ( asyncMiddleware ( instrument ( rest , './contextualizers/rest' ) ) )
216216 app . use ( instrument ( webhooks , './contextualizers/webhooks' ) )
217217 app . use ( asyncMiddleware ( instrument ( whatsNewChangelog , './contextualizers/whats-new-changelog' ) ) )
218218 app . use ( instrument ( layout , './contextualizers/layout' ) )
You can’t perform that action at this time.
0 commit comments