Kind: Function
Source: atloria-monorepo/apps/api/src/tours/tour-targeting.ts
Normalize a URL for comparison: drop the hash, collapse a trailing slash on the path. Querystrings are KEPT (rules may target them); a rule value without a query still matches via prefix rules.
Signature
tsfunction normalizeUrl(raw: string): string
Parameters
| Name | Type |
|---|---|
raw | string |
Returns: string
Was this page helpful?