Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/heavy-cups-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/catalyst-makeswift": patch
---

fix: handle OPTIONS requests via MakeswiftApiHandler
2 changes: 1 addition & 1 deletion core/app/api/makeswift/[...makeswift]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ const handler = MakeswiftApiHandler(process.env.MAKESWIFT_SITE_API_KEY, {
},
});

export { handler as GET, handler as POST };
export { handler as GET, handler as POST, handler as OPTIONS };
Loading