Fix WRT image could not be found (#12197)
* fix image could not load * increment `overrideVersionCode` * no need interceptor
This commit is contained in:
parent
4041d08c14
commit
8c5b5522a2
|
@ -1,6 +1,8 @@
|
|||
package eu.kanade.tachiyomi.extension.id.worldromancetranslation
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.wpmangareader.WPMangaReader
|
||||
import okhttp3.Headers
|
||||
import okhttp3.OkHttpClient
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
@ -8,4 +10,8 @@ class WorldRomanceTranslation : WPMangaReader("World Romance Translation", "http
|
|||
override val projectPageString = "/project-wrt"
|
||||
|
||||
override val hasProjectPage = true
|
||||
|
||||
override fun headersBuilder(): Headers.Builder {
|
||||
return super.headersBuilder().add("Referer", baseUrl)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ class WPMangaReaderGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Skull Scans", "https://www.skullscans.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Tsundoku Traduções", "https://tsundoku.com.br", "pt-BR", className = "TsundokuTraducoes", overrideVersionCode = 9),
|
||||
SingleLang("TurkToon", "https://turktoon.com", "tr"),
|
||||
SingleLang("World Romance Translation", "https://wrt.my.id", "id", overrideVersionCode = 7),
|
||||
SingleLang("World Romance Translation", "https://wrt.my.id", "id", overrideVersionCode = 8),
|
||||
SingleLang("ARESManga", "https://aresmanga.com", "ar", pkgName = "iimanga", overrideVersionCode = 2),
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue