0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-28 20:32:56 +01:00
gitea/routers/common
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800)
* refactor routers directory

* move func used for web and api to common

* make corsHandler a function to prohibit side efects

* rm unused func

Co-authored-by: 6543 <6543@obermui.de>
2021-06-09 01:33:54 +02:00
..
db.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
logger.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
middleware.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
repo.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00