1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 06:54:45 +01:00
gitea/cmd
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_auth_ldap_test.go
admin_auth_ldap.go
admin.go
cert.go
cmd.go
convert.go
docs.go
doctor.go
dump_repo.go
dump.go
embedded_stub.go
embedded.go
generate.go
hook.go
keys.go
mailer.go
manager.go
migrate_storage.go
migrate.go
restore_repo.go
serv.go
web_graceful.go
web_letsencrypt.go
web.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00