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

x/aleph/framework/core/routing.ts>rewriteURL

The Full-stack Framework in Deno.
Go to Latest
function rewriteURL
import { rewriteURL } from "https://deno.land/x/aleph@v0.3.0-alpha.19/framework/core/routing.ts";

rewriteURL returns a rewrited URL

Parameters

reqUrl: string
baseURL: string
rewrites: Record<string, string>