Page MenuHomeSealhub

url-with-new-params.ts
No OneTemporary

url-with-new-params.ts

import { Context } from "koa";
import qs from "qs";
export function UrlWithNewParams(
ctx: Context,
query_params: Record<string, unknown>
): string {
return `${ctx.path}?${qs.stringify(query_params)}`;
}

File Metadata

Mime Type
text/x-java
Expires
Fri, Jan 24, 15:15 (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
599523
Default Alt Text
url-with-new-params.ts (208 B)

Event Timeline