Commit graph

11 commits

Author SHA1 Message Date
2363d42c15 One Netlify function to handle individual tokens 2025-02-28 22:59:07 +01:00
1e71c12f60 Small imports stuff, hide "hacking" Info away
No plans to resume learning about cybersecurity
2025-02-18 02:14:01 +01:00
Taevas
719672ffa0 Load an Info's Website separately from the Info itself
Makes it so:
- An `Info`'s `Website` doesn't need to wait for other `Website`s of that same `Info` to load to show up
- An `Info`s `Website` not working won't prevent other `Website`s of that same `Info` from showing up
- Code is more split and organized

Furthermore, the token for the osu! API is now stored, and used for ALL osu! requests for 24 hours instead of being revoked

Overall, it's a lot of future-proofing so things on working even if I'm no longer there to maintain them
Also so `Info`s can be added, changed, and removed more easily
2024-05-04 19:14:18 +02:00
Taevas
b4af91405d Start handling bad requests on client-side rather than Netlify-side (#4)
Too much can go wrong on the side of Netlify, so it should throw on purpose if anything goes bad so the client can `catch` that
2024-05-01 02:11:36 +02:00
Taevas
d2f3cada52 Lint Netlify functions 2024-04-27 21:22:48 +02:00
Taevas
eb85319f73 Also apply basic linting to Netlify functions 2024-04-27 18:45:18 +02:00
Taevas
d1c0269a81 Basic code quality stuff 2023-11-05 21:01:24 +01:00
Taevas
74da396a8b Get ready to add more than infos 2023-05-29 14:47:53 +02:00
Taevas
6398e40e31 Support for multiple websites in same infobox 2023-05-16 00:41:02 +02:00
Taevas
fee3766c2b Strongly type everything 2023-05-10 19:55:11 +02:00
Taevas
74ccb4d01d Add GitHub 2023-05-08 16:52:50 +02:00