[Bps-public-commit] smokingit branch, master, updated. a12a2bd9a8b5c9d3fcc2933f03eb4fa36b21cef6

Thomas Sibley trs at bestpractical.com
Wed Mar 27 18:20:24 EDT 2013


The branch, master has been updated
       via  a12a2bd9a8b5c9d3fcc2933f03eb4fa36b21cef6 (commit)
      from  a4fd8dd5e39d7d75b6c1bf749ff5f056d2cfd9f9 (commit)

Summary of changes:
 app.psgi | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit a12a2bd9a8b5c9d3fcc2933f03eb4fa36b21cef6
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Wed Mar 27 15:19:55 2013 -0700

    Allow WebSocket handshakes to succeed with an Origin of smokingit.bestpractical.com

diff --git a/app.psgi b/app.psgi
index 7c47ff7..225e9e4 100644
--- a/app.psgi
+++ b/app.psgi
@@ -4,7 +4,11 @@ Jifty->new;
 
 builder {
     enable "CrossOrigin",
-       origins => ["https://tickets.bestpractical.com", "http://localhost:8008"],
+       origins => [
+           "http://smokingit.bestpractical.com",
+           "https://tickets.bestpractical.com",
+           "http://localhost:8008"
+       ],
        methods => ["GET"];
 
     Jifty->handler->psgi_app;

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list