mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Support older version of request where cookie jars are on by default o.O
This commit is contained in:
parent
47f3223be1
commit
eeb6f8c5e9
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ authstr = new Buffer("#{config.picoCTF_auth.username}:#{config.picoCTF_auth.pass
|
|||
papi = (url, req, cb) ->
|
||||
request
|
||||
url: "#{config.picoCTF_api_url}#{url}"
|
||||
jar: false
|
||||
headers:
|
||||
Cookie: "flask=#{req.cookies.flask}"
|
||||
Authorization: 'Basic ' + authstr
|
||||
|
|
Loading…
Reference in a new issue