From 8f3b18f6285ef50ff337b267f300ea9260fe42fb Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 19 Jan 2021 13:31:23 +0100 Subject: Migrate to garage --- render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render.js') diff --git a/render.js b/render.js index 33ef58a..5de814e 100644 --- a/render.js +++ b/render.js @@ -98,7 +98,7 @@ const propagate_nice_name = prefix => tree => { if (splitted.length > 0) { tree.nice_path = splitted.slice(0, -1) tree.nice_name = splitted[splitted.length - 1].split('.')[0] - tree.url = without_prefix + tree.url = tree.type == 'folder' ? without_prefix + '/' : without_prefix log('[propagate_nice_name]', [...tree.nice_path, tree.nice_name].join('|')) } -- cgit v1.2.3 From 1b78d2fbeedb45e492f652d3b041ba9b22dffe37 Mon Sep 17 00:00:00 2001 From: Quentin Date: Sun, 24 Jan 2021 16:02:53 +0100 Subject: Deploy Thunderbird conf --- render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render.js') diff --git a/render.js b/render.js index 5de814e..d0333a8 100644 --- a/render.js +++ b/render.js @@ -24,7 +24,7 @@ const walk = async (path, filename) => { } } -const ext_static = ['.css', '.js', '.otf', '.png', '.svg', '.txt', '.png', '.jpg', '.webp', 'client', 'server', '.pdf', '.ttf'] +const ext_static = ['.css', '.js', '.otf', '.png', '.svg', '.txt', '.png', '.jpg', '.webp', 'client', 'server', '.pdf', '.ttf', '.xml'] const ext_md = ['.md', '.markdown'] const ext_pug = ['.pug', '.jade'] -- cgit v1.2.3