forgejo/routers
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
..
api/v1 Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
common Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
install Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
private
utils
web Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
init.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00