Commit graph

5 commits

Author SHA1 Message Date
Bendodroid fa6e6bd142
Set WWW-Authenticate header directly and change realm to spaceapid for consistency 2024-01-16 01:37:54 +01:00
Bendodroid cf9678d712
Actually end the connection when request checks fail 2024-01-15 23:24:58 +01:00
Bendodroid 7ac8e91cc2
Improve logging in handlers/util.go 2024-01-15 22:32:52 +01:00
Bendodroid 1d30c16e46
More readable return statement 2024-01-15 22:24:57 +01:00
Bendodroid 38710484f9
Generate HTTP endpoints for environment sensors
- Move update request sanity checks to new method in handlers/util.go
- Change EnvironmentSensor.Value type because ParseFloat returns float64
2024-01-14 01:10:38 +01:00