From f40884eb8be9f13bce3134352cc35b1d6e2e38e4 Mon Sep 17 00:00:00 2001 From: Matthieu Codron Date: Mon, 24 May 2021 15:08:00 +0200 Subject: [PATCH] fix images not being served (closes #928) --- lib/showoff.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/showoff.rb b/lib/showoff.rb index 693f94c9..e4537855 100644 --- a/lib/showoff.rb +++ b/lib/showoff.rb @@ -1810,7 +1810,7 @@ def manage_client_cookies(presenter=false) end end - get %r{(?:image|file)/(.*)} do + get %r{/(?:image|file)/(.*)} do path = params[:captures].first full_path = File.join(settings.pres_dir, path) if File.exist?(full_path)