Commit graph

15 commits

Author SHA1 Message Date
8a1cf0456a
First working? version with persistent state 2023-11-10 03:24:12 +01:00
4eb1f18bf5
Adjust struct variable naming 2023-11-09 22:30:08 +01:00
fdb409bae6
Update README.md with new env var names 2023-11-09 22:30:07 +01:00
4b41acfa7b
Major Refactoring
- Move components to separate packages
- Fix HTTP header for 401 response
- Add documentation
2023-11-09 22:30:03 +01:00
ec8e279b7a
Fix broken IRC link in template
See: https://hackint.org/servers

Seems the SpaceAPI response on the old/current website has been wrong all along lol :D
2023-11-09 22:10:36 +01:00
8fa840cd8c
Set Access-Control-Allow-Origin header to * for OK response
Fixes #5
2023-11-09 21:50:33 +01:00
25938b6b3a Set new phone number in template
Fixes #2
2023-11-05 17:40:33 +00:00
da448e5be3
Set Content-Type header to application/json
Fixes #1
2023-11-05 18:11:29 +01:00
1a9922d5f1
Change initial SpaceAPI response source
- The environment variable is now called SPACE_API_JSON_TEMPLATE_PATH
- It is now the path to a file with the initial values, not the JSON itself
- Updated README.md accordingly
2023-11-04 23:31:24 +01:00
27a054d985
Add README 2023-11-04 22:44:01 +01:00
930e81bd7f
Improve log messages 2023-11-04 22:30:52 +01:00
26a9cf4911
Actually set the response status correctly
Reading the docs helps.
2023-11-04 22:30:39 +01:00
6d70d29050
Remove custom open/close icons
We currently specify both icons but both are 404s...
2023-11-04 21:16:27 +01:00
6eeb16a9d3
Add BSD-3-Clause LICENSE
(cherry picked from commit e1fe553dc2798079944a40e6a59a2833bc2e73dc)
2023-11-04 21:07:40 +01:00
be29af436f
Initial commit 2023-11-04 21:07:27 +01:00