Use super in headersbuilder (#4328)
Swtichs Headers.Builder() to super.headersBuilder()
This commit is contained in:
parent
7c8b654ff0
commit
955544ce2d
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'MyReadingManga'
|
||||
pkgNameSuffix = 'all.myreadingmanga'
|
||||
extClass = '.MyReadingMangaFactory'
|
||||
extVersionCode = 40
|
||||
extVersionCode = 41
|
||||
libVersion = '1.2'
|
||||
containsNsfw = true
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ open class MyReadingManga(override val lang: String, private val siteLang: Strin
|
|||
.build()!!
|
||||
override val supportsLatest = true
|
||||
|
||||
override fun headersBuilder(): Headers.Builder = Headers.Builder()
|
||||
override fun headersBuilder(): Headers.Builder = super.headersBuilder()
|
||||
.add("Referer", baseUrl)
|
||||
|
||||
// Popular - Random
|
||||
|
|
Loading…
Reference in New Issue