overleaf/services/web/test/acceptance/coffee/helpers/request.coffee
2017-11-27 17:10:58 +00:00

5 lines
No EOL
165 B
CoffeeScript

BASE_URL = "http://#{process.env["HTTP_TEST_HOST"] or "localhost"}:3000"
module.exports = require("request").defaults({
baseUrl: BASE_URL,
followRedirect: false
})