ignore cert mismatch for *.plex.direct (#244)

* ignore cert mismatch for *.plex.direct

add parameter to ignore cert mismatches for custom domains since plex tries to push everything through their generated subdomains and it may see a cert issue.

* removed incorrect instruction no longer required
make-only-subtitle-default
Tony 4 years ago committed by GitHub
parent baaeb707de
commit bf37a65a17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,7 +36,7 @@ const details = () => ({
type: 'text',
},
tooltip: `
Enter the IP address/URL for Plex. Must include http(s)://
Enter the IP address/URL for Plex.
\\nExample:\\n
192.168.0.10
\\nExample:\\n
@ -201,7 +201,7 @@ const plugin = async (file, librarySettings, inputs, otherArguments) => {
return response;
} if (type === 'https') {
await new Promise((resolve) => {
https.get(urlNoToken + token, (res) => {
https.get(urlNoToken + token, { rejectUnauthorized: false }, (res) => {
checkReply(response, res.statusCode, urlNoToken);
resolve();
}).on('error', (e) => {

Loading…
Cancel
Save