mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-03 14:19:01 +02:00
moved the build opts down
This commit is contained in:
@@ -10,11 +10,11 @@ logger = require "logger-sharelatex"
|
||||
|
||||
module.exports =
|
||||
check : (callback)->
|
||||
getOpts = -> {url:url, timeout:3000}
|
||||
doc_id = ObjectId()
|
||||
project_id = ObjectId(settings.docstore.healthCheck.project_id)
|
||||
url = "http://localhost:#{port}/project/#{project_id}/doc/#{doc_id}"
|
||||
lines = ["smoke test - delete me", "#{crypto.randomBytes(32).toString("hex")}"]
|
||||
getOpts = -> {url:url, timeout:3000}
|
||||
logger.log lines:lines, url:url, doc_id:doc_id, project_id:project_id, "running health check"
|
||||
jobs = [
|
||||
(cb)->
|
||||
|
||||
Reference in New Issue
Block a user