mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-17 05:20:01 -04:00
Fix discord, make embeded default proxy mode
This commit is contained in:
parent
c771252e78
commit
3821c227da
4 changed files with 8 additions and 6 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue