Skip to main content
Version: Next

VisitsApi.transformPathname()

Home > @backstage/plugin-home > VisitsApi > 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