This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new a813441  remove extraneous backslash
a813441 is described below

commit a81344189bc6197ed9b2240e428c3f5e0b181851
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Fri May 18 00:53:03 2018 -0400

    remove extraneous backslash
---
 www/board/agenda/views/sw.js.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/board/agenda/views/sw.js.rb b/www/board/agenda/views/sw.js.rb
index c482559..896d34f 100644
--- a/www/board/agenda/views/sw.js.rb
+++ b/www/board/agenda/views/sw.js.rb
@@ -170,7 +170,7 @@ self.addEventListener :fetch do |event|
     if url.end_with? '/bootstrap.html'
       return
 
-    elsif url =~ %r{^\d\d\d\d-\d\d-\d\d/(\w+\/)?[-\w]*$}
+    elsif url =~ %r{^\d\d\d\d-\d\d-\d\d/(\w+/)?[-\w]*$}
       # substitute bootstrap.html for html pages
       date =  url.split('/')[0]
       bootstrap_url = "#{scope}#{date}/bootstrap.html"

-- 
To stop receiving notification emails like this one, please contact
ru...@apache.org.

Reply via email to