useParameters
Function: useParameters()
useParameters():
object
Defined in: packages/core/src/application/hooks.ts:62
Get the current application parameters from the active configuration
Returns
the result
apiUrl?
optionalapiUrl?:string
Define the api url
metrics?
optionalmetrics?:false| {config?: {[key:string]:any; };labels?: {[key:string]:string; };prefix?:string; }
Define metrics
static?
optionalstatic?:StaticWebsite
Serve statically a website
website?
optionalwebsite?:string|string[]
Allow you to authorize one or several websites If you use "*" then the API is open to direct call and any origins You can also serve one static website by having a