Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

sockjs/sockjs-client#49 - support for 'null' origin

  • Loading branch information...
commit 06a0537a1cfcbed597703b30eb865d7aa6202659 1 parent ace4427
@majek majek authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/sockjs_filters.erl
View
1  src/sockjs_filters.erl
@@ -40,6 +40,7 @@ h_no_cache(Req, Headers) ->
xhr_cors(Req, Headers) ->
{OriginH, Req1} = sockjs_http:header('Origin', Req),
Origin = case OriginH of
+ "null" -> "*";
undefined -> "*";
O -> O
end,
Please sign in to comment.
Something went wrong with that request. Please try again.