Full Data Update

This commit is contained in:
2026-07-17 21:17:18 -04:00
parent 3b3df1686c
commit 772415207e
6 changed files with 797 additions and 163 deletions
+2 -4
View File
@@ -8,7 +8,7 @@ This was a quick and dirty project, and will probably get some updates slowly in
```bash
npm i
node serve.js
node basicauth_serve.js
```
To use the endpoint, replace 'EMAIL' and 'PASSWORD' with your Haze Explr account details:
@@ -23,6 +23,4 @@ Then, make a request to the endpoint with the resulting string as the value of t
curl "http://localhost:3000/locations?auth=BASE64_ENCODED_STRING"
```
`basicauth_serve.js` does the same thing bus expects account details to be passed via basic HTTP auth, but does not work with QGIS.
This is from a limitation of express-basic-auth.
`adapt.js` converts url-passed auth credentials into the basicauth server, I will refactor these in the future to use a `.env` file and better coding standards.