From 3dcfebc3c3c95288d94715c7ecc73bee81cd50cb Mon Sep 17 00:00:00 2001 From: W2Wizard Date: Fri, 19 Apr 2024 12:15:15 +0200 Subject: [PATCH] Update router.ts --- src/router.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/router.ts b/src/router.ts index 71f4392..1a72292 100644 --- a/src/router.ts +++ b/src/router.ts @@ -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.') })