Improve Playwright handling (#479)

* Improve playwright

* Move DriverJar.java and Chromium.kt
This commit is contained in:
Mitchell Syer
2023-01-07 16:47:53 -05:00
committed by GitHub
parent ee8ec460a1
commit 4cf7512ee0
5 changed files with 98 additions and 25 deletions
@@ -72,7 +72,7 @@ object CFClearance {
init {
// Fix the default DriverJar issue by providing our own implementation
// ref: https://github.com/microsoft/playwright-java/issues/1138
System.setProperty("playwright.driver.impl", "eu.kanade.tachiyomi.network.interceptor.DriverJar")
System.setProperty("playwright.driver.impl", "suwayomi.tachidesk.server.util.DriverJar")
}
fun resolveWithWebView(originalRequest: Request): Request {