mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 15:38:19 -07:00
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
This commit is contained in:
parent
baaeb707de
commit
bf37a65a17
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue