Compare commits
No commits in common. "66b245e6abd9821e6979f93bbe5e9a696a118fb28b9464d52ed0343f9ec5ab56" and "6d20f4e54cf8b52c2a74cb160b82ab76913b487e3c60863cd822eea0b4317b3a" have entirely different histories.
66b245e6ab
...
6d20f4e54c
@ -4,7 +4,7 @@ DB_PASSWORD=""
|
|||||||
DB_HOST=""
|
DB_HOST=""
|
||||||
DB_DIALECT=""
|
DB_DIALECT=""
|
||||||
DB_PORT=""
|
DB_PORT=""
|
||||||
WIGLE_TOKEN="" # Go to account and generate token "Encoded for use"
|
WIGLE_TOKEN=""
|
||||||
WIGLE_BASE_URL="https://api.wigle.net"
|
WIGLE_BASE_URL="https://api.wigle.net"
|
||||||
WIGLE_NETWORK_SEARCH="/api/v2/network/search"
|
WIGLE_NETWORK_SEARCH="/api/v2/network/search"
|
||||||
GET_LOCATION_WIFI_MAX_AGE=1209600000 # 14 days in milliseconds (14 * 24 * 60 * 60 * 1000)
|
GET_LOCATION_WIFI_MAX_AGE=1209600000 # 14 days in milliseconds (14 * 24 * 60 * 60 * 1000)
|
||||||
|
@ -51,7 +51,7 @@ export const getLocationForWifi = async (
|
|||||||
method: "GET",
|
method: "GET",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
Authorization: `Basic ${process.env.WIGLE_TOKEN}`,
|
Cookie: `auth=${process.env.WIGLE_TOKEN}`,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
return await response.json();
|
return await response.json();
|
||||||
|
Loading…
Reference in New Issue
Block a user