support gin production mode.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2016-03-27 21:12:11 +08:00
parent 59beeb7183
commit 9370c7f049
3 changed files with 9 additions and 2 deletions

View File

@@ -1,17 +1,18 @@
core:
port: "8088"
notification_max: 100
production: true
api:
push_uri: "/api/push"
stat_go_uri: "/api/status"
android:
enabled: true
enabled: false
apikey: ""
ios:
enabled: true
enabled: false
pem_cert_path: "cert.pem"
pem_key_path: "key.pem"
production: false