Skip to content

Commit

Permalink
Check
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 committed Feb 2, 2024
1 parent 95fe9b4 commit 30eca30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/vote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default async function handler(req: VercelRequest, res: VercelResponse) {
return res.status(500).end("Error initialize poll");
}
const hostUrl = `https://${req.headers.host}`;
return res.send(hostUrl);

if (req.method === "POST") {
let validatedMessage: Message | undefined = undefined;
Expand Down

0 comments on commit 30eca30

Please sign in to comment.