We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f62eb12 commit e8f6686Copy full SHA for e8f6686
index.js
@@ -21,6 +21,7 @@ class API {
21
this._version = props && props.version ? props.version : 'v1'
22
this._base = props && props.base && typeof props.base === 'string' ? props.base.trim() : ''
23
this._callbackName = props && props.callback ? props.callback.trim() : 'callback'
24
+ this._mimeTypes = props && props.mimeTypes && typeof props.mimeTypes === 'object' ? props.mimeTypes : {}
25
26
// Prefix stack w/ base
27
this._prefix = this.parseRoute(this._base)
0 commit comments