Commit 3edec9d9 authored by globa's avatar globa

add tls 1.2

parent 0101236f
...@@ -10,6 +10,7 @@ if (Test-Path $configFile) { ...@@ -10,6 +10,7 @@ if (Test-Path $configFile) {
} }
# Telegram URLs # Telegram URLs
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$URL_get = "https://api.telegram.org/bot$token/getUpdates" $URL_get = "https://api.telegram.org/bot$token/getUpdates"
$URL_set = "https://api.telegram.org/bot$token/sendMessage" $URL_set = "https://api.telegram.org/bot$token/sendMessage"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment