diff --git a/index.php b/index.php index 23e08e5..ee1c8a2 100755 --- a/index.php +++ b/index.php @@ -248,7 +248,7 @@ function send_text_file(string $filename, string $content) : void function send_sharex_config() : void { $name = $_SERVER['SERVER_NAME']; - $site_url = CONFIG::SITE_URL(); + $site_url = str_replace("?sharex", "", CONFIG::SITE_URL()); send_text_file($name.'.sxcu', <<