gogs/internal/context
ᴜɴᴋɴᴡᴏɴ 07818d5fa5
route: no session for routes without UI (#6066)
Not all routes need session, register session and CSRF middleware as global is a waste of resource, and creating a lot one-time off yet never used session records.
2020-04-05 06:36:08 +08:00
..
api.go refactor: unify error handling in routing layer 2020-03-16 01:22:27 +08:00
api_org.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
auth.go route: no session for routes without UI (#6066) 2020-04-05 06:36:08 +08:00
context.go http: always set header `X-Content-Type-Options` to `nosniff` (#6008) 2020-03-23 22:18:05 +08:00
notice.go conf: overhaul server settings (#5928) 2020-02-22 09:05:26 +08:00
org.go lfs: implement HTTP routes (#6035) 2020-04-04 21:14:15 +08:00
repo.go lfs: implement HTTP routes (#6035) 2020-04-04 21:14:15 +08:00
user.go refactor: unify error handling in routing layer 2020-03-16 01:22:27 +08:00