Skip to content

Commit

Permalink
fix: api build
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied committed Aug 30, 2023
1 parent 904f3d5 commit 1653c37
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/api/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import path, { join } from "node:path";
import { fileURLToPath } from "node:url";
import { FastifyPluginAsync } from "fastify";
import AutoLoad, { AutoloadPluginOptions } from "@fastify/autoload";
import { FastifySSEPlugin } from "fastify-sse-v2";
import cors from "@fastify/cors";

export type AppOptions = {
Expand All @@ -18,7 +17,6 @@ const __dirname = path.dirname(__filename);
const app: FastifyPluginAsync<AppOptions> = async (fastify, opts): Promise<void> => {
// Place here your custom code!

fastify.register(FastifySSEPlugin);
fastify.register(cors, {});

// Do not touch the following lines
Expand Down

0 comments on commit 1653c37

Please sign in to comment.