Skip to content

Commit

Permalink
Update router.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
W2Wizard authored Apr 19, 2024
1 parent d5f262c commit 3dcfebc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@ const router = AutoRouter({
catch: error,
})

// router.get('/', () => ({ message: 'Hello, from itty-router v5.' }))
// router.get('/hello', async () => {
// const { response, data, error } = await docker.GET("/containers/json")
// if (error) throw new Error(error.message)

// return data
// })

router.post('/evaluate/git/:project', async (req) => {
let body: GitBody = await req.json()
.catch(() => { throw new StatusError(400, 'Invalid JSON body.') })
Expand Down

0 comments on commit 3dcfebc

Please sign in to comment.