From 19ad5e6a5393ffe4cbe072a2aaef054434bfc45d Mon Sep 17 00:00:00 2001 From: r0p0s3c Date: Mon, 14 Mar 2016 08:49:07 -0400 Subject: [PATCH] update to use or rather than || --- cookies.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookies.coffee b/cookies.coffee index 1bd866e..9c684a1 100755 --- a/cookies.coffee +++ b/cookies.coffee @@ -282,7 +282,7 @@ class __cookies ### send: -> if @runOnServer - HTTP.get (__meteor_runtime_config__.ROOT_URL_PATH_PREFIX || '') + '/___cookie___/set', () -> return + HTTP.get (__meteor_runtime_config__.ROOT_URL_PATH_PREFIX or '') + '/___cookie___/set', () -> return else throw new Meteor.Error '400', 'Can\'t send cookies on server when `runOnServer` is false.'