From 41d9ee91a103148c54ac6ec2fd85ca12975c7dea Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 23 Feb 2025 15:20:22 +0800 Subject: [PATCH] WebUI: tell web crawlers do not index the WebUI PR #22309. --- 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