Skip to content

Commit

Permalink
change user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
nonproto committed Apr 11, 2019
1 parent 68bfb56 commit c8392e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ open class Mangadex(override val lang: String, private val internalLang: String,
}.build()!!

override fun headersBuilder() = Headers.Builder().apply {
add("User-Agent", "Tachiyomi " + System.getProperty("http.agent"))
add("User-Agent", "Tachiyomi/MangaDex " + System.getProperty("http.agent"))
add("X-Requested-With", "XMLHttpRequest")
}

Expand Down

0 comments on commit c8392e7

Please sign in to comment.