mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-01-31 01:32:55 -05:00
Merge branch 'master' of https://github.com/gvmtool/gvm
This commit is contained in:
@@ -219,7 +219,7 @@ def downloadHandler = { req ->
|
||||
|
||||
def cmd = [action:"find", collection:"candidates", matcher:[candidate:candidate, "versions.version":version], keys:['versions.url.$':1]]
|
||||
vertx.eventBus.send("mongo-persistor", cmd){ msg ->
|
||||
req.response.headers['Location'] = msg.body.results.versions.url.first()
|
||||
req.response.headers['Location'] = msg.body.results.versions.url[0].first()
|
||||
req.response.statusCode = 302
|
||||
req.response.end()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user