MCPcopy Create free account
hub / github.com/anders-swanson/oracle-database-code-samples / buildLanguagePath

Function buildLanguagePath

website/vite.config.ts:74–76  ·  view source on GitHub ↗
(slug: string)

Source from the content-addressed store, hash-verified

72}
73
74function buildLanguagePath(slug: string) {
75 return `/languages/${slug}/`;
76}
77
78function buildCanonicalUrl(pathname: string) {
79 const normalized = pathname.startsWith('/') ? pathname.slice(1) : pathname;

Callers 1

buildRoutesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected