2026-10-07 19:40:26 +03:30
|
|
|
package api
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"net/http"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func (s *Server) handleCommunity(w http.ResponseWriter, r *http.Request) {
|
2026-10-20 17:51:22 +03:30
|
|
|
ctx := r.Context()
|
2026-10-07 19:40:26 +03:30
|
|
|
writeJSON(w, http.StatusOK, map[string]any{
|
2026-10-20 17:51:22 +03:30
|
|
|
"socials": s.loadSocials(ctx),
|
|
|
|
|
"contributors": s.loadContributors(ctx),
|
2026-10-07 19:40:26 +03:30
|
|
|
})
|
|
|
|
|
}
|