From 99404493ece1b4a8234e1ef2bf77635baccc9704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20B=C3=BCrgi?= Date: Thu, 23 May 2024 23:27:54 +0200 Subject: [PATCH] Switch to https endpoint to fix upload 404 issue (#101) --- src/speedtest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/speedtest.rs b/src/speedtest.rs index 7e7b2d2..78a56ed 100644 --- a/src/speedtest.rs +++ b/src/speedtest.rs @@ -13,7 +13,7 @@ use std::{ time::{Duration, Instant}, }; -const BASE_URL: &str = "http://speed.cloudflare.com"; +const BASE_URL: &str = "https://speed.cloudflare.com"; const DOWNLOAD_URL: &str = "__down?bytes="; const UPLOAD_URL: &str = "__up";