From 37aacf973b531fdb59afa1e373fdabb4e4435dcf Mon Sep 17 00:00:00 2001 From: Gregory Eremin Date: Tue, 29 Jul 2014 13:26:00 +0700 Subject: [PATCH] Make production default environment --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 496b775..088bf5d 100644 --- a/config.go +++ b/config.go @@ -19,7 +19,7 @@ var ( func SetupConfig() { flag.StringVar(&Config.Storage, "storage", "-", "Kyoto Cabinet storage path (e.g. "+DefaultProductionStorage+")") - flag.StringVar(&Config.Env, "environment", "development", "Process environment: development or production") + flag.StringVar(&Config.Env, "environment", "production", "Process environment: production or development") flag.IntVar(&Config.Port, "port", 4401, "Server HTTP port") flag.Parse()