mirror of
https://github.com/open-reception/appointment-booking-software.git
synced 2026-09-28 11:44:51 +02:00
7 lines
172 B
TypeScript
7 lines
172 B
TypeScript
export const redactDbUrl = (input: string) => {
|
|
const url = new URL(input);
|
|
url.username = "redacted-user";
|
|
url.password = "redacted-pw";
|
|
return url.toString();
|
|
};
|