Skip to content

Commit

Permalink
fix domain
Browse files Browse the repository at this point in the history
  • Loading branch information
shihjay2 committed Nov 2, 2024
1 parent 17e96e5 commit af45edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/as/token/[interact_ref].ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (process.env.NODE_ENV === 'development') {
async function handler(req: NextApiRequest, res: NextApiResponse) {
await NextCors(req, res, {
methods: ["POST", "DELETE"],
origin: process.env.DOMAIN,
origin: '*',
optionsSuccessStatus: 200
});
const { interact_ref } = req.query
Expand Down

0 comments on commit af45edd

Please sign in to comment.