mirror of
https://github.com/System-End/site.git
synced 2026-04-20 00:25:19 +00:00
corrrrsssss
This commit is contained in:
parent
4d4cf9dcab
commit
f21cb3e698
1 changed files with 1 additions and 2 deletions
|
|
@ -8,8 +8,7 @@ const joinTable = new AirtablePlus({
|
|||
})
|
||||
|
||||
export default async (req, res) => {
|
||||
res.setHeader('Access-Control-Allow-Origin', '*')
|
||||
res.setHeader('Access-Control-Allow-Headers', "*");
|
||||
res.setHeader('Access-Control-Allow-Origin', 'https://hackclub.com')
|
||||
if (req.method === 'POST') {
|
||||
const data = JSON.parse(req.body)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue