mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 03:23:10 +00:00
Add test for location of redirect to v1
This commit is contained in:
parent
9d600afdf8
commit
893e2dd235
2 changed files with 4 additions and 1 deletions
|
@ -421,4 +421,7 @@ describe 'TokenAccess', ->
|
|||
unimportedV1Token = '123abc'
|
||||
try_read_and_write_token_access(@owner, unimportedV1Token, (response, body) =>
|
||||
expect(response.statusCode).to.equal 302
|
||||
expect(response.headers.location).to.equal(
|
||||
'http://overleaf.test:5000/123abc'
|
||||
)
|
||||
, done)
|
||||
|
|
|
@ -107,4 +107,4 @@ module.exports =
|
|||
'/proxy/missing/baseUrl': path: '/foo/bar'
|
||||
|
||||
overleaf:
|
||||
host: "http://#{process.env['V1_HOST']}:5000"
|
||||
host: "http://overleaf.test:5000"
|
||||
|
|
Loading…
Reference in a new issue