mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-17 03:06:27 -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',
|
type: 'text',
|
||||||
},
|
},
|
||||||
tooltip: `
|
tooltip: `
|
||||||
Enter the IP address/URL for Plex. Must include http(s)://
|
Enter the IP address/URL for Plex.
|
||||||
\\nExample:\\n
|
\\nExample:\\n
|
||||||
192.168.0.10
|
192.168.0.10
|
||||||
\\nExample:\\n
|
\\nExample:\\n
|
||||||
|
|
@ -201,7 +201,7 @@ const plugin = async (file, librarySettings, inputs, otherArguments) => {
|
||||||
return response;
|
return response;
|
||||||
} if (type === 'https') {
|
} if (type === 'https') {
|
||||||
await new Promise((resolve) => {
|
await new Promise((resolve) => {
|
||||||
https.get(urlNoToken + token, (res) => {
|
https.get(urlNoToken + token, { rejectUnauthorized: false }, (res) => {
|
||||||
checkReply(response, res.statusCode, urlNoToken);
|
checkReply(response, res.statusCode, urlNoToken);
|
||||||
resolve();
|
resolve();
|
||||||
}).on('error', (e) => {
|
}).on('error', (e) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue