mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
add register protocol magnet
This commit is contained in:
@@ -220,6 +220,9 @@ var settingsPage = `
|
||||
|
||||
$(document).ready(function() {
|
||||
refreshSettings();
|
||||
navigator.registerProtocolHandler("magnet",
|
||||
"http://localhost:8090/torrent/play?link=%s&save=true&stat=true",
|
||||
"TorrServer");
|
||||
});
|
||||
|
||||
$(document).on("wheel", "input[type=number]", function (e) {
|
||||
|
||||
Reference in New Issue
Block a user