Skip to content

Commit

Permalink
add .gitignore for bun.lockb
Browse files Browse the repository at this point in the history
  • Loading branch information
Celesca committed Nov 23, 2024
2 parents 6e72f3c + 5c01181 commit ac0345e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,6 @@ server.exe

# Frontend folder
frontend/node_modules
frontend
frontend

bun.lockb
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Elysia } from "elysia";
import { cors } from "@elysiajs/cors";
import { swagger } from "@elysiajs/swagger";
import { cors } from "@elysiajs/cors";
import { swipeController } from "./controllers/swipeController";
Expand All @@ -12,6 +13,9 @@ import { teamController } from "./controllers/teamController";
const app = new Elysia()
.get("/", () => "Hello Elysia")
.use(swagger())
.use(cors({
origin: "*",
}))
.use(swipeController)
.use(notificationController)
.use(userController)
Expand Down

0 comments on commit ac0345e

Please sign in to comment.