Puts a page's current path in the URL once the page knows it. A user, dump or playlist reached by a former name or slug, or by a name in another case, comes back from the API under its current one, from which the page builds its path; the server's OG middleware answers the same with a 301.
Usage
import * as mod from "src/hooks/shared/useCanonicalPath.ts";