Remove console log

This commit is contained in:
Ingo Oppermann 2024-03-27 20:58:11 +01:00
parent dc384ed554
commit 8f3c60a1a7
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

View File

@ -33,7 +33,6 @@ const anonymize = (text) => {
const regex = /(?:([a-z0-9\\]+):)?\/[A-Za-z0-9-._~!$&'()*+,;=:@?/{}%\\]*/gm;
return text.replaceAll(regex, (match, scheme) => {
console.log('text', text, 'match', match, 'scheme', scheme);
if (scheme) {
match = match.replace(scheme, scheme.replaceAll('\\', ''));
return anonymize_url(match);