gitea/routers
silverwind d475b656b1
Set RUN_MODE prod by default (#13765) (#13767)
* Set RUN_MODE prod by default (#13765)

I think it's a bad default to have "dev" as the default run mode which
enables debugging and now also disables HTTP caching. It's better to
just default to a value suitable for general deployments.

Co-authored-by: techknowlogick <techknowlogick@gitea.io>

* flip default in checkRunMode

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-12-01 09:55:38 +08:00
..
admin Validate email before inserting/updating (#13475) (#13666) 2020-11-22 12:31:35 -05:00
api/v1 Validate email before inserting/updating (#13475) (#13666) 2020-11-22 12:31:35 -05:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
events Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
org Set opengraph attributes on org pages (#12803) 2020-09-11 07:41:43 +01:00
private Fix a bug when check if owner is active (#13613) 2020-11-18 11:59:24 +02:00
repo ui: show 'owner' tag for real owner (#13689) (#13743) 2020-11-29 14:50:58 +02:00
routes Store task errors following migrations and display them (#13246) (#13287) 2020-10-24 13:02:36 +08:00
user Validate email before inserting/updating (#13475) (#13666) 2020-11-22 12:31:35 -05:00
utils Return the full rejection message and errors in flash errors (#13221) (#13237) 2020-10-21 14:54:19 -04:00
home.go Simplify CheckUnitUser logic (#12854) 2020-09-15 19:49:34 -04:00
init.go Set RUN_MODE prod by default (#13765) (#13767) 2020-12-01 09:55:38 +08:00
install.go Update golangci-lint to version 1.31.0 (#13102) 2020-10-11 21:27:20 +01:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00