diff --git a/server.ts b/server.ts
index 8beffb2..22d140f 100644
--- a/server.ts
+++ b/server.ts
@@ -77,6 +77,9 @@ const serverFactory = (handler, opts) => {
const app = fastify({ logger: true, serverFactory });
app.register(cookieParser);
+await app.register(
+ import("@fastify/compress")
+ );
// Uncomment if you wish to add masqr.
/* app.addHook("preHandler", async (req, reply) => {
diff --git a/src/index.tsx b/src/index.tsx
index 8e1dee1..07d40bd 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -11,7 +11,8 @@ const theme = localStorage.getItem("theme") || "main";
export default function App() {
return (
-
+ {window.location.origin === "https://nebulaproxy.io" &&
}
+ {/* {window.location.origin === "http://localhost:8080" &&
} */}
diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx
index 6dfd8f0..26e6d84 100644
--- a/src/pages/Home.tsx
+++ b/src/pages/Home.tsx
@@ -157,7 +157,7 @@ export function Home() {
}
>
{t("settings.bare.select")}
diff --git a/src/pages/Settings/ProxyInput.tsx b/src/pages/Settings/ProxyInput.tsx
index 14682f0..6c397d7 100644
--- a/src/pages/Settings/ProxyInput.tsx
+++ b/src/pages/Settings/ProxyInput.tsx
@@ -116,17 +116,17 @@ function ProxyInput(props: BareInputProps) {
}
}}
id="pinput"
- className="font-roboto flex h-14 w-56 flex-row rounded-2xl border border-input-border-color bg-input p-4 text-center text-sm"
+ className="font-roboto flex h-14 w-56 flex-row rounded-2xl border text-input-text border-input-border-color bg-input p-4 text-center text-sm"
/>
{t("settings.bare.select")}
{t("settings.httpProxy.reset")}