This commit is contained in:
Matthew Arbesfeld
2014-07-11 12:23:52 -07:00
parent 2148497dde
commit 3d7d47c3ea
3 changed files with 6 additions and 7 deletions

View File

@@ -1536,7 +1536,7 @@ LivedataTest.Connection = Connection;
DDP.connect = function (url, options) {
var ret = new Connection(url, options);
allConnections.push(ret); // hack. see below.
debugger;
return ret;
};

View File

@@ -1777,9 +1777,9 @@ exports.bundle = function (options) {
// Server
var browserClient = targets["client.browser"];
if (browserClient) {
var server = makeServerTarget(app, browserClient);
var server = options.cachedServerTarget || makeServerTarget(app, client);
server.clientTarget = client;
var server = options.cachedServerTarget ||
makeServerTarget(app, browserClient);
server.clientTarget = browserClient;
targets.server = server;
}
}

View File

@@ -9,8 +9,8 @@
<script type="text/javascript">
__meteor_runtime_config__ = {
'meteorRelease':'0.8.2',
'ROOT_URL':'http://localhost:3000',
'meteorRelease':'none',
'ROOT_URL':'http://localhost:3000/',
'ROOT_URL_PATH_PREFIX':'',
'DDP_DEFAULT_CONNECTION_URL':'http://localhost:3000'
};
@@ -21,7 +21,6 @@
{{{head}}}
<script type="text/javascript">
Meteor.disconnect();
UI.body.INSTANTIATED = true;
if (typeof Package === 'undefined' ||