You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/routers
wxiaoguang dcd3a63128
Move web JSON functions to web context and simplify code (#26132)
The JSONRedirect/JSONOK/JSONError functions were put into "Base" context
incorrectly, it would cause abuse.

Actually, they are for "web context" only, so, move them to the correct
place.

And by the way, use them to simplify old code: +75 -196
11 months ago
..
api Remove "misc" scope check from public API endpoints (#26134) 11 months ago
common Less naked returns (#25713) 1 year ago
install Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" (#25974) 12 months ago
private Add context parameter to some database functions (#26055) 12 months ago
utils Implement FSFE REUSE for golang files (#21840) 2 years ago
web Move web JSON functions to web context and simplify code (#26132) 11 months ago
init.go Refactor path & config system (#25330) 1 year ago