forgejo/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.go Fix missing storage init (#15589) 2021-04-22 18:48:47 +02:00
admin_auth_ldap.go
admin_auth_ldap_test.go
cert.go
cmd.go
convert.go
docs.go
doctor.go
dump.go dump: Add option to skip LFS/attachment files (#15407) 2021-04-12 17:33:32 +08:00
dump_repo.go
embedded.go
embedded_stub.go
generate.go
hook.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
keys.go
mailer.go
manager.go
migrate.go
migrate_storage.go
restore_repo.go Move restore repo to internal router and invoke from command to avoid open the same db file or queues files (#15790) 2021-05-10 15:57:45 +08:00
serv.go add a new internal hook to save ssh log (#15787) 2021-05-21 17:37:16 -04:00
web.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
web_graceful.go Move FCGI req.URL.Path fix-up to the FCGI listener (#15292) 2021-04-09 21:17:57 +08:00
web_letsencrypt.go Fix bound address/port for caddy's certmagic library (see #15848) (#15859) 2021-05-14 15:39:10 +01:00