Commit Graph

9 Commits (502f7526d0588894d179731a0a130d9448588e21)

Author SHA1 Message Date
silverwind 14178c56bb
Add Cache-Control header to html and api responses, add no-transform (#20432) 2 years ago
Gusted d55a0b7238
Refactor `i18n` to `locale` (#20153) 2 years ago
ttys3 e933f31426
Add health check endpoint (#18465) 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
wxiaoguang 5bf8d5445e
Refactor Router Logger (#17308) 3 years ago
Lunny Xiao f494776931
Use a variable but a function for IsProd because of a slight performance increment (#17368) 3 years ago
zeripath afd88a2418
Allow setting X-FRAME-OPTIONS (#16643) 3 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 4 years ago
a1012112796 7081046b5f
Fix language switch for install page (#16043) 4 years ago
zeripath cbf30830d2
Add missing SameSite settings for the i_like_gitea cookie (#16037) 4 years ago
Lunny Xiao effad26c0e
Improve assets handler middleware (#15961) 4 years ago
KN4CK3R 1456978246
Added missing prefix on install route. (#15677) 4 years ago
zeripath fa3895ce81
Move modules/forms to services/forms (#15305) 4 years ago
Lunny Xiao 5e20fd6dbf
Move middlewares to web/middleware (#14480) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
Lunny Xiao 84b147c7f0
Use IsProd instead of testing if it's equal. (#14336) 4 years ago
Lunny Xiao f76c30094f
Fix typo (#14332) 4 years ago
Lunny Xiao ce43d38b4f
Fix session bug when introduce chi (#14287) 4 years ago
Lunny Xiao a1c9e8f266
Fix windows build error (#14263) 4 years ago
Lunny Xiao 15a475b7db
Fix recovery middleware to render gitea style page. (#13857) 4 years ago