Interface: JovaPartialRCOptions
Defined in: src/types/jova/config/interfaces/RCOptions/JsonYamlPartials.ts:181
Properties
basePath?
optionalbasePath:string
Defined in: src/types/jova/config/interfaces/RCOptions/JsonYamlPartials.ts:191
Name
basePath
Description
An optional base path for all of your routes to begin at.
cors?
optionalcors:CorsOptions
Defined in: src/types/jova/config/interfaces/RCOptions/JsonYamlPartials.ts:216
Name
cors
Description
Enable cors and set up certain values for the cors middleware.
customHeaders?
optionalcustomHeaders:JovaHeaderSetting[]
Defined in: src/types/jova/config/interfaces/RCOptions/JsonYamlPartials.ts:211
Name
customHeaders
Description
Custom headers to be applied to outgoing responses, this is a middleware of optional use but the headers put in here are read-only at runtime until the request is received by a request handler.
customOptions?
optionalcustomOptions:JovaCustomOption[]
Defined in: src/types/jova/config/interfaces/RCOptions/JsonYamlPartials.ts:206
Name
customOptions
Description
Custom options from express to be set upon the server starting, similar to settings but this sets any value unlike settings which only allows settings from the JovaSettingsOptions enum.
paths?
optionalpaths:JovaPathSettings
Defined in: src/types/jova/config/interfaces/RCOptions/JsonYamlPartials.ts:186
Name
paths
Description
Deploy example middlewares and routes when running the Jova.js Server.
port?
optionalport:string|number
Defined in: src/types/jova/config/interfaces/RCOptions/JsonYamlPartials.ts:196
Name
port
Description
The port for the Jova Server to run on.
settings?
optionalsettings:JovaSettings
Defined in: src/types/jova/config/interfaces/RCOptions/JsonYamlPartials.ts:201
Name
settings
Description
Custom settings from express to be enabled or disabled upon the server starting.