Skip to main content

addStaticContentPath

@quik/http


@quik/http / addStaticContentPath

Function: addStaticContentPath()

addStaticContentPath(pathOrFolder, maybeFolder?): void

Defined in: http/src/router/QStaticContent.ts:14

Register a folder to be served as static content.

Parameters

pathOrFolder

string

Path or folder depending on usage.

maybeFolder?

string

Folder when a path is also provided.

Returns

void