1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-16 18:01:37 +00:00

Added new rewrite rules add_hn_links_using_hack and add_hn_links_using_opener to open HN comments with iOS apps

This commit is contained in:
Adriano Di Luzio 2023-09-23 22:54:48 +02:00 committed by GitHub
parent ace2699e79
commit 54cb8fa028
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 104 additions and 0 deletions

View file

@ -297,6 +297,10 @@ func hasValidURIScheme(src string) bool {
"tel:",
"webcal://",
"xmpp:",
// iOS Apps
"opener://", // https://www.opener.link
"hack://", // https://apps.apple.com/it/app/hack-for-hacker-news-reader/id1464477788?l=en-GB
}
for _, prefix := range whitelist {