Skip to content

Commit

Permalink
Remove: @dnlup/fastify-traps package
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianKoerner committed Oct 12, 2023
1 parent 73b81bf commit d9ca0f9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"@dicebear/api-5": "*",
"@dicebear/api-6": "*",
"@dicebear/api-7": "*",
"@dnlup/fastify-traps": "^3.0.0",
"@fastify/cors": "^8.4.0",
"@resvg/resvg-js": "^2.4.1",
"change-case": "^5.0.2",
Expand Down
3 changes: 0 additions & 3 deletions src/app.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { config } from './config.js';
import fastify from 'fastify';
import cors from '@fastify/cors';
import traps from '@dnlup/fastify-traps';

import { parseQueryString } from './utils/parseQueryString.js';
import { versionRoutes } from './routes/version.js';
Expand All @@ -21,8 +20,6 @@ export const app = async () => {
maxParamLength: 1024,
});

// @ts-expect-error
await app.register(traps);
await app.register(cors);

await app.register(versionRoutes, { versions: await getVersions() });
Expand Down

0 comments on commit d9ca0f9

Please sign in to comment.