mirror of
https://github.com/wassname/talk.git
synced 2026-08-18 12:30:39 +08:00
[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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user