mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-05 10:40:22 +00:00
clean up whitespace
This commit is contained in:
parent
0c454f5ddd
commit
3c5eb9a730
1 changed files with 0 additions and 5 deletions
|
@ -41,17 +41,12 @@ module.exports = CompileController =
|
|||
}
|
||||
|
||||
downloadPdf: (req, res, next = (error) ->)->
|
||||
|
||||
Metrics.inc "pdf-downloads"
|
||||
project_id = req.params.Project_id
|
||||
isPdfjsPartialDownload = req.query?.pdfng
|
||||
|
||||
|
||||
|
||||
rateLimit = (callback)->
|
||||
if isPdfjsPartialDownload
|
||||
callback null, true
|
||||
|
||||
else
|
||||
rateLimitOpts =
|
||||
endpointName: "full-pdf-download"
|
||||
|
|
Loading…
Reference in a new issue