forgejo/modules/public
silverwind 5180deb819
Send 404 immediately for known public requests ()
Instead of further handling requests to public which causes issues like , immediately terminate requests to directories js, css, fomantic if no file is found which is checked against a hardcoded list. Maybe there is a way to retrieve the top-level entries below public in a dynamic fashion.

I also added fomantic to the reserved usernames and sorted the list.

Fixes: 
2020-04-18 22:01:06 +01:00
..
dynamic.go Use gitea forked macaron () 2019-08-23 12:40:29 -04:00
public.go Send 404 immediately for known public requests () 2020-04-18 22:01:06 +01:00
public_bindata.go Rename scripts to build and add revive command as a new build tool command () 2020-04-03 22:29:12 +03:00
static.go Implement "embedded" command to extract static resources () 2020-02-02 10:17:44 +08:00