DEFAULTS

config~ DEFAULTS

Default Config values
Source:

Members

(static) ALLOW_READ_REDIRECT :boolean

Type:
  • boolean
Default Value:
  • false
Source:

(static) CLIENT_HINTS :boolean

Type:
  • boolean
Default Value:
  • false
Source:

(static) CRYPTO :object

crypto settings (IF YOU WANT TO USE CRYPTO, CHANGE THE DEFAULT VALUES)
Type:
  • object
Properties:
Name Type Attributes Default Description
ENABLED boolean <optional>
true whether the url should be decrypted
KEY buffer <optional>
new Buffer('DjiZ7AWTeNh38zoQiZ76gw==', 'base64') key buffer
IV buffer <optional>
new Buffer('_ag3WU77') iv buffer
CIPHER string <optional>
BF-CBC crypto cipher
Source:

(static) DEBUG :boolean

Type:
  • boolean
Default Value:
  • false
Source:

(static) DEFAULT_MIME :string

Type:
  • string
Default Value:
  • 'image/png'
Source:

(static) HOST :string

The public hostname or IP address. If not configured, defaults to the operating system hostname and if not available, to 'localhost'
Type:
  • string
Default Value:
  • undefined
Source:
See:

(static) NATIVE_AUTO_ORIENT :boolean

Type:
  • boolean
Default Value:
  • true
Source:

(static) PORT :number

Type:
  • number
Default Value:
  • 3000
Source:

(static) PREPROCESSOR :object

preprocessor options
Type:
  • object
Properties:
Name Type Attributes Default Description
VIDEO.KILL_TIMEOUT number <optional>
120000 kill ffmpeg after given amount of milliseconds. Use `-1` to disable
Source:

(static) READER :object

reader options
Type:
  • object
Properties:
Name Type Attributes Default Description
REQUEST.TIMEOUT number <optional>
10000 default request timeout
Source:

(static) ROUTES :object

enable/disable specific routes
Type:
  • object
Properties:
Name Type Attributes Default Description
INDEX boolean <optional>
true if enabled, register index route
PROFILE_CONVERT_IMAGE boolean <optional>
true if enabled, register image convert route
PROFILE_CONVERT_VIDEO boolean <optional>
true if enabled, register video convert route
Source:

(static) SUPPORTED :object

Object containing flags for supported features. These fields will be overwritting after starting flamingo.
Type:
  • object
Properties:
Name Type Attributes Default Description
GM.FFMPEG boolean <optional>
false if true, ffmpeg is available
Source:

(static, readonly) VERSION :string

Type:
  • string
Source: