1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 12:59:11 -05:00
forgejo/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