interface MakeURLOptions

external
interface MakeURLOptions

The options to use when making a CDN URL

Constructors

constructor()

optionalexternal
allowedExtensions? : readonly string[]

The allowed extensions that can be used

optionalexternal
base? : string = DefaultRestOptions.cdn

The base URL.

optionalexternal
extension? : string | undefined = 'webp'

The extension to use for the image URL

optionalexternal
size? : ImageSize

The size specified in the image URL