mirror of
https://github.com/cupcakearmy/morphus.git
synced 2025-09-06 00:00:40 +00:00
stuff
This commit is contained in:
@@ -83,14 +83,14 @@ export const config = convict({
|
||||
format: formatNullableStringOrRegexpArray,
|
||||
default: null as NullableStringOrRegexpArray,
|
||||
nullable: true,
|
||||
env: 'ALLOWED_DOMAINS',
|
||||
// env: 'ALLOWED_DOMAINS', // See: https://github.com/mozilla/node-convict/issues/399
|
||||
},
|
||||
allowedHosts: {
|
||||
doc: 'The hosts that are allowed to access the images',
|
||||
format: formatNullableStringOrRegexpArray,
|
||||
default: null as NullableStringOrRegexpArray,
|
||||
nullable: true,
|
||||
env: 'ALLOWED_HOSTS',
|
||||
// env: 'ALLOWED_HOSTS', // See: https://github.com/mozilla/node-convict/issues/399
|
||||
},
|
||||
cleanUrls: {
|
||||
doc: 'Whether to clean URLs',
|
||||
|
Reference in New Issue
Block a user