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.
Very Popular
Go to Latest
function rewriteURL
import { rewriteURL } from "https://deno.land/x/aleph@v0.3.0-alpha.32/framework/core/routing.ts";

rewriteURL returns a rewrited URL

Parameters

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