feat: github projects route

This commit is contained in:
trafficlunar 2025-05-03 16:09:46 +01:00
parent a1f22391e9
commit a3eb6c6e32
7 changed files with 115 additions and 0 deletions

View file

@ -54,6 +54,7 @@ func NewRouter() {
r.Get("/hit", handler.HandleGetHitCounter)
r.With(httprate.LimitByRealIP(1, time.Hour)).Patch("/hit", handler.HandlePatchHitCounter)
r.Get("/song", handler.HandleGetCurrentlyPlaying)
r.Get("/projects", handler.HandleGetProjects)
r.Get("/computer", handler.HandleComputerGraphData)
r.Get("/computer/ws", handler.HandleComputerWebSocket)