Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/aleph/server/helpers.ts>restoreUrl

The Full-stack Framework in Deno.
Go to Latest
function restoreUrl
import { restoreUrl } from "https://deno.land/x/aleph@1.0.0-beta.1/server/helpers.ts";

restore the remote url from local path. e.g. /-/esm.sh/react@17.0.2 -> https://esm.sh/react@17.0.2

Parameters

pathname: string

Returns

string