From c796f4164c13e30135246c08304acd7142673f60 Mon Sep 17 00:00:00 2001 From: Philipp Tanlak Date: Sat, 17 Feb 2024 23:42:55 +0100 Subject: Make urls more fault tolerant --- examples/urls_from_file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/urls_from_file.js b/examples/urls_from_file.js index 0231032..4633c9c 100644 --- a/examples/urls_from_file.js +++ b/examples/urls_from_file.js @@ -1,7 +1,7 @@ import urls from "./urls.txt" export const config = { - urls: urls.split("\n").filter(Boolean) + urls: urls.split("\n") }; export default function({ doc }) { -- cgit v1.2.3