Compare commits

...

2 Commits

Author SHA1 Message Date
dvelo
2dda77e9ee fix: undefined issue 2025-01-13 21:25:07 -06:00
dvelo
e9b448658a chore: exclude vercel from deploying backend servers 2025-01-13 21:20:54 -06:00
2 changed files with 3 additions and 4 deletions

2
.vercelignore Normal file

@ -0,0 +1,2 @@
backend-mh-api/
cron/

@ -77,10 +77,7 @@ export default async function handler(
"sec-fetch-site": "cross-site", "sec-fetch-site": "cross-site",
Referer: "http://localhost:3000/", Referer: "http://localhost:3000/",
"Referrer-Policy": "strict-origin-when-cross-origin", "Referrer-Policy": "strict-origin-when-cross-origin",
Authentication: Authentication: `MHSF-Backend-Server ${process.env.MHSF_BACKEND_API_LOCATION ? process.env.MHSF_BACKEND_SECRET : "Sorry Minehut Devs."}`,
process.env.MHSF_BACKEND_SECRET !== undefined
? `MHSF-Backend-Server ${process.env.MHSF_BACKEND_SECRET}`
: undefined,
}, },
body: null, body: null,
method: "GET", method: "GET",