mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-28 00:12:25 +00:00
Revert "fix(logs): suppress dm sync spam and allow local image paths"
This commit is contained in:
1 parent
9e685b6b6a
commit
8a4e4754f2
4 files changed
+9
-65
No files matched your search
@@ -62,10 +62,6 @@ export function sanitizeProfileMediaUrl(value) {
|
||||
return trimmed;
|
||||
}
|
||||
|
||||
if (/^images\//i.test(trimmed)) {
|
||||
return trimmed;
|
||||
}
|
||||
|
||||
if (!/^https?:\/\//i.test(trimmed)) {
|
||||
if (LOCALHOST_PATTERN.test(trimmed)) {
|
||||
trimmed = `http://${trimmed}`;
|
||||
|
||||
Reference in new issue
Block a user