add certificate

This commit is contained in:
tom5079
2024-02-26 00:13:00 -08:00
parent 114158cf73
commit 38494c9fbc
5 changed files with 61 additions and 7 deletions

View File

@@ -166,11 +166,7 @@ fun getGalleryIDsFromNozomi(area: String?, tag: String, language: String) : Set<
else -> "$protocol//$domain/$compressed_nozomi_prefix/$area/$tag-$language$nozomiextension"
}
val bytes = try {
URL(nozomiAddress).readBytes()
} catch (e: Exception) {
return emptySet()
}
val bytes = URL(nozomiAddress).readBytes()
val nozomi = mutableSetOf<Int>()