Skip to content
Snippets Groups Projects
Verified Commit 662fc156 authored by Louis's avatar Louis :fire:
Browse files

Add sentry profiling to web api

parent 3d3025a8
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@ const loaders = require('http/middleware/MountLoaders')
const userGate = require('http/middleware/RequiresAuth')
const web = new Router()
web.use(profiling)
web.get('/login', ctx => {
const data = {}
if (ctx.query.login_state) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment