Skip to content

Commit

Permalink
update to use or rather than ||
Browse files Browse the repository at this point in the history
  • Loading branch information
r0p0s3c authored and r0p0s3c committed Mar 14, 2016
1 parent 560b759 commit 19ad5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookies.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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.'

Expand Down

0 comments on commit 19ad5e6

Please sign in to comment.