File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -148,9 +148,12 @@ Set global options and start API server
148148 - ** getIp** - * optional* - should client IP be added to request object
149149 - type: ` Boolean `
150150 - default: ` false `
151+ - ** turbo** - * optional* - if turbo is installed as peer-dependency use it
152+ - type: ` Boolean `
153+ - default: ` false `
151154 - ** authTrans** - * optional* - Synchronous function that transforms the passed in auth object before proceeding with processing
152155 - type: ` Function ` - receives (Object[ auth / JWT payload)] )
153- - default: ` 1e6 `
156+ - default: ` null `
154157 - returns: ` Object ` - updated auth object
155158
156159# helper functions (used internally but exported as a courtesy)
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ let allowOrigins = {}
6464let gzipThreshold = 1000
6565let getIp
6666let setScrudHeader
67- let turbo
67+ let turbo = false
6868
6969// local helpers
7070const logIt = ( e , level = 'fatal' ) => {
You can’t perform that action at this time.
0 commit comments