[next] Heroku Support (#2240)

* feat: added env-rewrite support

* feat: added heroku support via app.json

* fix: fixed readme linting error

* fix: fixed error in app.json

* fix: improved environment variables exposed by app.json
This commit is contained in:
Wyatt Johnson
2019-03-22 20:29:02 +00:00
committed by GitHub
parent 538e1fca9d
commit e0627925fb
7 changed files with 138 additions and 59 deletions
+3 -2
View File
@@ -59,7 +59,7 @@ const config = convict({
env: "LOCALE",
},
enable_graphiql: {
doc: "When true, this will enable the GraphiQL routes",
doc: "When true, this will enable the GraphiQL interface at /graphiql",
format: Boolean,
default: false,
env: "ENABLE_GRAPHIQL",
@@ -103,7 +103,8 @@ const config = convict({
sensitive: true,
},
signing_secret: {
doc: "",
doc:
"The shared secret to use to sign JSON Web Tokens (JWT) with the selected signing algorithm.",
format: "*",
default: "keyboard cat", // TODO: (wyattjoh) evaluate best solution
env: "SIGNING_SECRET",