1
0
Fork 0
mirror of https://github.com/Corewala/Buran synced 2025-03-11 22:53:08 +00:00

Fixed redirects without leading slash

This commit is contained in:
Corewala 2022-06-03 10:42:42 -04:00
parent 764cee3042
commit 0505e5d5bf

View file

@ -211,7 +211,7 @@ class GeminiDatasource(private val context: Context, val history: BuranHistory):
private fun resolve(host: String, address: String): String{
val ouri = OppenURI()
ouri.set(host)
ouri.set("gemini://$host")
return ouri.resolve(address)
}