fix image urls
This commit is contained in:
@@ -168,5 +168,5 @@ fun getExtensionIcon(apkName: String): Pair<InputStream, String> {
|
||||
}
|
||||
|
||||
fun getExtensionIconUrl(apkName: String): String {
|
||||
return "http://127.0.0.1:4567/api/v1/extension/icon/$apkName"
|
||||
return "/api/v1/extension/icon/$apkName"
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ import org.jetbrains.exposed.sql.select
|
||||
import org.jetbrains.exposed.sql.transactions.transaction
|
||||
|
||||
fun proxyThumbnailUrl(mangaId: Int): String {
|
||||
return "http://127.0.0.1:4567/api/v1/manga/$mangaId/thumbnail"
|
||||
return "/api/v1/manga/$mangaId/thumbnail"
|
||||
}
|
||||
|
||||
fun getMangaList(sourceId: Long, pageNum: Int = 1, popular: Boolean): PagedMangaListDataClass {
|
||||
|
||||
Reference in New Issue
Block a user