Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
"@cloud-cryptographic-wallet/signer": "^0.0.5",
"@ethersproject/json-wallets": "^5.7.0",
"@fastify/basic-auth": "^5.1.1",
"@fastify/cookie": "^9.2.0",
"@fastify/express": "^2.3.0",
"@fastify/swagger": "^8.9.0",
"@fastify/type-provider-typebox": "^3.2.0",
"@fastify/websocket": "^8.2.0",
Expand All @@ -49,10 +47,7 @@
"@types/base-64": "^1.0.2",
"aws-kms-signer": "^0.5.3",
"base-64": "^1.0.0",
"body-parser": "^1.20.3",
"bullmq": "^5.11.0",
"cookie": "^0.7.0",
"cookie-parser": "^1.4.7",
"cron-parser": "^4.9.0",
"crypto": "^1.0.1",
"crypto-js": "^4.2.0",
Expand Down Expand Up @@ -82,9 +77,7 @@
"devDependencies": {
"@biomejs/biome": "^1.9.2",
"@types/cli-progress": "^3.11.3",
"@types/cookie": "^0.5.1",
"@types/crypto-js": "^4.2.2",
"@types/express": "^4.17.17",
"@types/jsonwebtoken": "^9.0.6",
"@types/node": "^18.15.4",
"@types/node-cron": "^3.0.8",
Expand Down
12 changes: 5 additions & 7 deletions src/server/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { TypeBoxTypeProvider } from "@fastify/type-provider-typebox";
import fastify, { FastifyInstance } from "fastify";
import * as fs from "fs";
import path from "path";
import { URL } from "url";
import type { TypeBoxTypeProvider } from "@fastify/type-provider-typebox";
import fastify, { type FastifyInstance } from "fastify";
import * as fs from "node:fs";
import path from "node:path";
import { URL } from "node:url";
import { clearCacheCron } from "../utils/cron/clearCacheCron";
import { env } from "../utils/env";
import { logger } from "../utils/logger";
Expand All @@ -14,7 +14,6 @@ import { withAuth } from "./middleware/auth";
import { withCors } from "./middleware/cors";
import { withEnforceEngineMode } from "./middleware/engineMode";
import { withErrorHandler } from "./middleware/error";
import { withExpress } from "./middleware/express";
import { withRequestLogs } from "./middleware/logs";
import { withOpenApi } from "./middleware/open-api";
import { withPrometheus } from "./middleware/prometheus";
Expand Down Expand Up @@ -80,7 +79,6 @@ export const initServer = async () => {
await withRateLimit(server);
await withWebSocket(server);
await withAuth(server);
await withExpress(server);
await withOpenApi(server);
await withRoutes(server);
await withServerUsageReporting(server);
Expand Down
6 changes: 0 additions & 6 deletions src/server/middleware/express.ts

This file was deleted.

Loading
Loading