whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: forgot scope already had a slash in it
Date Tue, 07 Nov 2017 21:00:14 GMT
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 81f5454  forgot scope already had a slash in it
81f5454 is described below

commit 81f5454f985e5b771a040bae6eb84992136ce729
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Tue Nov 7 15:59:59 2017 -0500

    forgot scope already had a slash in it
---
 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 5e1f301..50897d2 100644
--- a/www/board/agenda/views/sw.js.rb
+++ b/www/board/agenda/views/sw.js.rb
@@ -34,7 +34,7 @@ self.addEventListener :fetch do |event|
     event.respondWith(
       Promise.new do |fulfill, reject|
         date =  url.split('/')[0]
-        bootstrap = "#{scope}/#{date}/bootstrap.html"
+        bootstrap = "#{scope}#{date}/bootstrap.html"
         request = Request.new(bootstrap, cache: "no-store")
         error = nil
         timeoutId = nil

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message