switch to auth token

This commit is contained in:
2025-01-02 13:57:27 +01:00
parent 59c6658355
commit 755f26a93c
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ export const getLocationForWifi = async (
method: "GET",
headers: {
"Content-Type": "application/json",
Cookie: `auth=${process.env.WIGLE_TOKEN}`,
Authorization: `Basic ${process.env.WIGLE_TOKEN}`,
},
});
return await response.json();