From 14aa3565f7268e2049dd415493b017866d1a0568 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 14 Feb 2025 03:51:58 +0800 Subject: [PATCH] WebUI: tell (civil) web crawlers do not index the WebUI --- src/webui/www/public/robots.txt | 2 ++ src/webui/www/webui.qrc | 1 + 2 files changed, 3 insertions(+) create mode 100644 src/webui/www/public/robots.txt diff --git a/src/webui/www/public/robots.txt b/src/webui/www/public/robots.txt new file mode 100644 index 000000000..1f53798bb --- /dev/null +++ b/src/webui/www/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / diff --git a/src/webui/www/webui.qrc b/src/webui/www/webui.qrc index 15f55ca02..1a77d3a28 100644 --- a/src/webui/www/webui.qrc +++ b/src/webui/www/webui.qrc @@ -447,6 +447,7 @@ public/images/qbittorrent-tray.svg public/images/qbittorrent32.png public/index.html + public/robots.txt public/scripts/login.js