Commit 014ab89dfc894365e856298e3fa5ee2e828ab88e:
    fetch mailbox using relative url


Branch: refs/heads/master
Author: Sam Ruby <[email protected]>
Committer: Sam Ruby <[email protected]>
Pusher: rubys <[email protected]>

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


diff --git a/www/secmail/views/index.js.rb b/www/secmail/views/index.js.rb
index 9944556..b683ce1 100644
--- a/www/secmail/views/index.js.rb
+++ b/www/secmail/views/index.js.rb
@@ -87,7 +87,7 @@ def componentDidUpdate()
 
   # fetch a month's worth of messages
   def fetch_month(&block)
-    HTTP.get("/#{@nextmbox}", :json).then {|response|
+    HTTP.get(@nextmbox, :json).then {|response|
       # update latest mbox
       @nextmbox = response.mbox
 

Reply via email to