Skip to main content
Deno 2 is finally here 🎉️
Learn more
method Router.prototype.prefix
Re-export
import { Router } from "https://deno.land/x/ptero@3.0/Ptero/deps.ts";

Set the router prefix for this router.

Parameters

prefix: string