Skip to content

Commit

Permalink
Merge branch 'release/0.0.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
DominusKelvin committed Jul 10, 2023
2 parents 72ae568 + 456f247 commit 7750939
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 1,122 deletions.
2 changes: 0 additions & 2 deletions example.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ const Koa = require('koa')
const treblle = require('./index')
const app = new Koa()

// x-response-time
app.use(
treblle({
apiKey: process.env.TREBLLE_API_KEY,
projectId: process.env.TREBLLE_PROJECT_ID,
})
)

// response
app.use(async (ctx) => {
ctx.body = { message: 'Hello World' }
})
Expand Down
Loading

0 comments on commit 7750939

Please sign in to comment.