Skip to content

Commit e3f8dbf

Browse files
committed
fix(api): add project links to public root response
- deprecate the /log route in the advertised public endpoints - expose github and homepage URLs in the root metadata
1 parent 4a1952e commit e3f8dbf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/api/internal/api/public.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,12 @@ func (h *PublicHandler) Root(w http.ResponseWriter, _ *http.Request) {
3838
"/",
3939
"/healthz",
4040
"/js",
41-
"/log",
41+
// "/log", deprecated
4242
"/api/v1/log",
4343
"/api/v2/log",
4444
},
45+
"github": "https://github.com/EvanNotFound/vercount",
46+
"homepage": "https://www.vercount.one",
4547
})
4648
}
4749

0 commit comments

Comments
 (0)