mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 19:35:00 -05:00
fix: undefined issue
This commit is contained in:
commit
4f60dde126
@ -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",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user