update warning contents

This commit is contained in:
ppc
2024-08-21 21:11:58 +01:00
parent 4adee9bd5b
commit 92b5175076
2 changed files with 4 additions and 4 deletions
@@ -14,8 +14,8 @@ export function HttpsMixedModeRequestWarning() {
<ShieldEllipsis className="h-4 w-4"/>
<AlertTitle>HTTPS Session Detected</AlertTitle>
<AlertDescription>
Using HTTPS will disable any servers using HTTP unless you enable mixed-mode requests.
Consider switching to HTTP if you're having issues connecting to servers.
Using HTTPS will disable any servers using HTTP due to mixed-mode requests being blocked on most browsers by default.
Consider using the HTTP version of the site or enabling insecure/mixed-mode requests on this site.
</AlertDescription>
</Alert>
));
@@ -1,4 +1,4 @@
import {ServerOff} from "lucide-react";
import {SaveOff} from "lucide-react";
import {useEffect, useState} from "react";
import detectIncognito from "detectincognitojs";
import {Alert, AlertDescription, AlertTitle} from "@/components/ui/alert";
@@ -21,7 +21,7 @@ export function IncognitoStorageWarning() {
return (showWarning && (
<Alert variant="destructive">
<ServerOff className="h-4 w-4"/>
<SaveOff className="h-4 w-4"/>
<AlertTitle>Private Session Detected</AlertTitle>
<AlertDescription>
You&apos;re currently using a private browsing session. When you close the tab, all data (including