whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [2/2] Commit 53e6d15: try fetch in same-origin mode
Date Sat, 13 Feb 2016 14:26:26 GMT
Commit 53e6d15d8b22463c8d7173c41fc5154b51e6c5a0:
    try fetch in same-origin mode


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
www/roster/views/committerSearch.js.rb                       | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------


diff --git a/www/roster/views/committerSearch.js.rb b/www/roster/views/committerSearch.js.rb
index 79be0f6..48d8a79 100644
--- a/www/roster/views/committerSearch.js.rb
+++ b/www/roster/views/committerSearch.js.rb
@@ -8,7 +8,7 @@ def initialize
 
   def componentDidMount()
     Polyfill.require(%w(Promise fetch)) do
-      fetch('committer/index.json').then do |response|
+      fetch('committer/index.json', mode: 'same-origin').then do |response|
         response.json().then do |committers|
           @ready = true
           @committers = committers

Mime
View raw message