preserve extension and query in oceanic latest link

This commit is contained in:
Donovan Daniels 2024-05-07 20:45:25 -05:00
parent 1acaa8114e
commit f521322783
Signed by: Donovan_DMC
GPG Key ID: 907D29CBFD6157BA

View File

@ -17,7 +17,7 @@ module OceanicWs
end
def latest
redirect_to("/#{latest_version}#{params[:other]}")
redirect_to("/#{latest_version}#{request.fullpath[("/latest".length)..]}")
end
private