mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-09-27 09:23:03 +03:00
update warning contents
This commit is contained in:
@@ -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're currently using a private browsing session. When you close the tab, all data (including
|
||||
|
||||
Reference in New Issue
Block a user