Commit Graph

2 Commits (2f0eb9fd5d95fbb023676f0644b2174f0feff3ad)

Author SHA1 Message Date
Lunny Xiao ce43d38b4f
Fix session bug when introduce chi ()
* Update go-chi session
Lunny Xiao 15a475b7db
Fix recovery middleware to render gitea style page. ()
* Some changes to fix recovery

* Move Recovery to middlewares

* Remove trace code

* Fix lint

* add session middleware and remove dependent on macaron for sso

* Fix panic 500 page rendering

* Fix bugs

* Fix fmt

* Fix vendor

* recover unnecessary change

* Fix lint and addd some comments about the copied codes.

* Use util.StatDir instead of com.StatDir

Co-authored-by: 6543 <6543@obermui.de>