This commit is contained in:
Henry Oswald 2015-11-25 11:08:04 +00:00
commit 5213be4fe9
2 changed files with 3 additions and 3 deletions

View file

@ -117,8 +117,8 @@ module.exports =
siteUrl : siteUrl = 'http://localhost:3000'
# cookie domain
# use full domain for cookies to only be accesabble from that domain,
# replace subdomain with dot to have them accessable on all subdomains
# use full domain for cookies to only be accessible from that domain,
# replace subdomain with dot to have them accessible on all subdomains
# cookieDomain: ".sharelatex.dev"
cookieName:"sharelatex.sid"

View file

@ -144,7 +144,7 @@ describe "CompileController", ->
@req.query = {pdfng:false}
@RateLimiter.addCount.callsArgWith(1, null, true)
@CompileController.proxyToClsi = (project_id, url)=>
@RateLimiter.addCount.args[0][0].throttle.should.equal 100
@RateLimiter.addCount.args[0][0].throttle.should.equal 1000
done()
@CompileController.downloadPdf @req, @res