Skip to main content
Version: Next

VisitsStorageApi.transformPathname()

Home > @backstage/plugin-home > VisitsStorageApi > transformPathname

Transform the pathname before it is considered for any other processing.

Signature:

transformPathname(pathname: string): string;

Parameters

Parameter

Type

Description

pathname

string

the original pathname

**Returns:**

string

the transformed pathname