mirror of
1
Fork 0
forgejo/routers
Ada 41676a8634 Fix #2512 /api/forgejo/v1/version auth check (#2582)
Add the same auth check and middlewares as the /v1/ API.
It require to export some variable from /v1 API, i am not sure if is the correct way to do

Co-authored-by: oliverpool <git@olivier.pfad.fr>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2582
Reviewed-by: oliverpool <oliverpool@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Ada <ada@gnous.eu>
Co-committed-by: Ada <ada@gnous.eu>
2024-03-19 07:16:19 +00:00
..
api Fix #2512 /api/forgejo/v1/version auth check (#2582) 2024-03-19 07:16:19 +00:00
common Fix incorrect cookie path for AppSubURL (#29534) 2024-03-06 12:10:46 +08:00
install Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
private Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-11 23:36:59 +07:00
utils Improve user search display name (#29002) 2024-02-01 17:10:16 +00:00
web routers: Minor code cleanup in UsernameSubRoute 2024-03-18 13:28:20 +01:00
init.go Actions Artifacts v4 backend (#28965) 2024-03-06 12:10:45 +08:00