Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NestApplicationOptions

publicapi

Hierarchy

  • NestApplicationContextOptions
    • NestApplicationOptions

Index

Properties

Optional abortOnError

abortOnError: boolean | undefined

Whether to abort the process on Error. By default, the process is exited. Pass false to override the default behavior. If false is passed, Nest will not exit the application and instead will rethrow the exception.

Optional bodyParser

bodyParser: boolean

Whether to use underlying platform body parser.

Optional cors

cors: boolean | CorsOptions

CORS options from CORS package

Optional httpsOptions

httpsOptions: HttpsOptions

Set of configurable HTTPS options

Optional logger

logger: LoggerService | LogLevel[] | boolean

Specifies the logger to use. Pass false to turn off logging.

Generated using TypeDoc