MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / redactUrlSecrets

Function redactUrlSecrets

apps/webapp/app/db.server.ts:193–197  ·  view source on GitHub ↗
(hrefOrUrl: string | URL)

Source from the content-addressed store, hash-verified

191}
192
193function redactUrlSecrets(hrefOrUrl: string | URL) {
194 const url = new URL(hrefOrUrl);
195 url.password = "";
196 return url.href;
197}
198
199export type { PrismaClient } from "@trigger.dev/database";
200

Callers 2

getClientFunction · 0.85
getReplicaClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…