Fix discord, make embeded default proxy mode

This commit is contained in:
rift 2023-12-26 22:16:58 -06:00
parent c771252e78
commit 3821c227da
4 changed files with 8 additions and 6 deletions

View file

@ -16,7 +16,7 @@ declare global {
export function ProxyFrame(props: { url: string }) {
// pass the URL encoded with encodeURIcomponent
const localProxy = localStorage.getItem("proxy") || "automatic";
const proxyMode = localStorage.getItem("proxyMode") || "direct";
const proxyMode = localStorage.getItem("proxyMode") || "embed";
const [ProxiedUrl, setProxiedUrl] = useState<string | undefined>(undefined);