overleaf/services/web/test/acceptance/coffee/helpers/request.coffee

5 lines
165 B
CoffeeScript
Raw Normal View History

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