mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
refactor: remove redundant trim in URL parser
This commit is contained in:
@@ -33,7 +33,6 @@ export function extractUrls(input: string): string[] {
|
||||
continue;
|
||||
}
|
||||
|
||||
line = line.trim();
|
||||
if (isValidHttpUrl(line)) {
|
||||
urls.push(line);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user