mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Always serve the client manifest file
This commit is contained in:
@@ -375,6 +375,17 @@ var runWebAppServer = function () {
|
||||
return;
|
||||
}
|
||||
|
||||
// XXX think of a better name
|
||||
if (pathname === "/cordova_manifest.json") {
|
||||
res.writeHead(200, {
|
||||
'Content-type': 'application/json; charset=UTF-8',
|
||||
'Access-Control-Allow-Origin': '*'
|
||||
});
|
||||
res.write(JSON.stringify(WebApp.clientProgram.manifest));
|
||||
res.end();
|
||||
return;
|
||||
}
|
||||
|
||||
var serveStaticJs = function (s) {
|
||||
res.writeHead(200, {
|
||||
'Content-type': 'application/javascript; charset=UTF-8'
|
||||
|
||||
Reference in New Issue
Block a user