Skip to content

Commit

Permalink
disabled cors
Browse files Browse the repository at this point in the history
  • Loading branch information
Aydan Pirani committed Aug 17, 2024
1 parent efd91af commit 3a19cff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/registration/registration-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ import RoleChecker from "../../middleware/role-checker";
import { Role } from "../auth/auth-models";
import { AttendeeCreateValidator } from "../attendee/attendee-validators";
import { registrationExists } from "./registration-utils";
import cors from "cors";

const registrationRouter = Router();
registrationRouter.use(cors());

// A database upsert operation to save registration mid-progress
registrationRouter.post("/save", RoleChecker([]), async (req, res, next) => {
Expand Down

0 comments on commit 3a19cff

Please sign in to comment.