Fix Pixiv (2)
All checks were successful
apk / build (push) Successful in 1m34s

This commit is contained in:
Michel Roux 2023-08-01 08:47:40 +02:00
parent e9a3dcb699
commit 9593f04d16

View File

@ -29,6 +29,7 @@ public class MainActivity extends Activity {
case "x.com": case "x.com":
fixedUrl = new URL(originalUrl.getProtocol(), "nitter.net", originalUrl.getPort(), originalUrl.getFile()); fixedUrl = new URL(originalUrl.getProtocol(), "nitter.net", originalUrl.getPort(), originalUrl.getFile());
break; break;
case "pixiv.net":
case "www.pixiv.net": case "www.pixiv.net":
fixedUrl = new URL(originalUrl.getProtocol(), "ppxiv.net", originalUrl.getPort(), originalUrl.getFile()); fixedUrl = new URL(originalUrl.getProtocol(), "ppxiv.net", originalUrl.getPort(), originalUrl.getFile());
break; break;