gitea/routers/web
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
..
admin Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
dev Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
events Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
explore Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
org Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
repo Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
user Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
base.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
goget.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
home.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
metrics.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
swagger_json.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
web.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00