Skip to content

Commit

Permalink
Merge pull request #49 from polyglot-edu/20-new-execution-api-concept
Browse files Browse the repository at this point in the history
cors added to express.router
  • Loading branch information
tmaog authored Jun 3, 2024
2 parents c77872d + e4e52a6 commit c10b980
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ import searchRouter from "./search.routes";
import metadataRouter from "./metadata.routes";
import openaiRouter from "./openai.routes";
import conceptRouter from "./concept.routes";
import cors from "cors";

const router = express.Router();
router.use(cors());

router.use("/api/flows", flowRouter);
router.use("/api/course", courseRouter);
Expand Down

0 comments on commit c10b980

Please sign in to comment.