Add SFTP as trustable web protocol

This commit is contained in:
Etoh 2023-10-22 11:21:09 +01:00 committed by GitHub
parent 20846ca78c
commit a34a9a7aba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ SYNCPLAY_DOWNLOAD_URL = "https://syncplay.pl/download/"
SYNCPLAY_PUBLIC_SERVER_LIST_URL = "https://syncplay.pl/listpublicservers?{}" # Params
DEFAULT_TRUSTED_DOMAINS = ["youtube.com", "youtu.be"]
TRUSTABLE_WEB_PROTOCOLS = ["http", "https"]
TRUSTABLE_WEB_PROTOCOLS = ["http", "https", "sftp"]
PRIVATE_FILE_FIELDS = ["path"]