Browse Source

added sample parameters for jwt

andrea 7 years ago
parent
commit
0dfd3ea31a
1 changed files with 8 additions and 2 deletions
  1. 8 2
      config.sample.json

+ 8 - 2
config.sample.json

@@ -2,7 +2,13 @@
 create a db_config.json here's 
 */
 {
-  "config":{
-    "db_params":{"uri":"postgresql://user:password@host:port/dbname"}
+  "config": {
+    "db_params": {
+      "uri": "postgresql://user:password@host:port/dbname"
+    },
+    "jwt": {
+      "secret": "secret",
+      "expire_seconds": 3600
+    }
   }
 }