Skip to content
Snippets Groups Projects
Unverified Commit daaefda4 authored by Gabriel Engel's avatar Gabriel Engel
Browse files

Merge branch '1.3' of github.com:RocketChat/Rocket.Chat into 1.3

parents 6c35677c 6d626744
No related branches found
No related tags found
No related merge requests found
......@@ -320,3 +320,8 @@ Meteor.startup(Autoupdate._retrySubscription);
// }
// };
window.WebAppLocalServer = {};
WebAppLocalServer.startupDidComplete = function() {};
WebAppLocalServer.checkForUpdates = function() {};
WebAppLocalServer.onNewVersionReady = function() {};
WebAppLocalServer.onError = function() {};
......@@ -28,7 +28,7 @@ WebApp.rawConnectHandlers.use (req, res, next) ->
WebApp.rawConnectHandlers.use (req, res, next) ->
if /^\/(api|_timesync|sockjs|tap-i18n)(\/|$)/.test req.url
if /^\/(api|_timesync|sockjs|tap-i18n|__cordova)(\/|$)/.test req.url
res.setHeader("Access-Control-Allow-Origin", "*")
# Block next handlers to override CORS with value http://meteor.local
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment