MCPcopy Create free account
hub / github.com/dailydotdev/apps / currentPath

Function currentPath

packages/shared/src/features/getApp/mobileAppFooter.ts:55–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53let landing: { path: string; fromSearch: boolean } | undefined;
54
55const currentPath = (): string =>
56 `${window.location.pathname}${window.location.search}`;
57
58// Google demotes pages covered by an interstitial right after a search
59// click, so the page a search engine sent the reader to stays clean.

Callers 1

isSearchEngineLandingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected