Skip to content

Commit

Permalink
Merge pull request #2382 from srijan-paul/patch-1
Browse files Browse the repository at this point in the history
fix: small typo (`fasitfy` -> `fastify`)
  • Loading branch information
DanielHougaard authored Sep 9, 2024
2 parents 364302a + 12154c8 commit 1bfbc70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/server/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import fastifyFormBody from "@fastify/formbody";
import helmet from "@fastify/helmet";
import type { FastifyRateLimitOptions } from "@fastify/rate-limit";
import ratelimiter from "@fastify/rate-limit";
import fasitfy from "fastify";
import fastify from "fastify";
import { Knex } from "knex";
import { Logger } from "pino";

Expand Down Expand Up @@ -39,7 +39,7 @@ type TMain = {
// Run the server!
export const main = async ({ db, smtp, logger, queue, keyStore }: TMain) => {
const appCfg = getConfig();
const server = fasitfy({
const server = fastify({
logger: appCfg.NODE_ENV === "test" ? false : logger,
trustProxy: true,
connectionTimeout: 30 * 1000,
Expand Down

0 comments on commit 1bfbc70

Please sign in to comment.