Commits

Yuriy Netesov  committed ca70779 Draft

added crossdomain

  • Participants
  • Parent commits dd5f141

Comments (0)

Files changed (1)

File apps/kissbang/src/webgate_srv.erl

                         [{"Content-Type", "text/plain"}],
                         JsonResponse});
         _Other ->
-            Req:respond({200, [{"Content-Type", "text/plain"}], "error : wrong hole"})
+            CrossdomainXml = "<cross-domain-policy>
+    <allow-access-from domain=\"*\" />
+</cross-domain-policy>",
+            Req:respond({200, [{"Content-Type", "text/plain"}], CrossdomainXml})
     end.