mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
If we use `__meteor_runtime_config__.ROOT_URL` directly, as we were previously, then we end up sending Cordova clients to http:// URLs even if force-ssl is being used in the app. This is fairly bad on its own (always sending cordova clients to http:// URLs instead of https://), but made even worse by the fact that we don't set CORS headers on force-ssl redirects (that is, the app breaks completely if the client makes a DDP connection to an http:// URL for a force-ssl app).
webapp
The webapp package contains the core functionality that makes a
Meteor project into a web application. It is a "value added HTTP
server" that includes not just a web server, but also advanced app
serving functionality like over-the-air mobile app updates and HTML5
Appcache support. For more information, see the Webapp project
page.