first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 21:52:23 +03:00
commit 880f412e2c
2662 changed files with 866266 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
import { createFileRoute } from "@tanstack/react-router";
import ProxyPage from "./page";
export const Route = createFileRoute("/workspace/config/proxy")({
component: ProxyPage,
});

View File

@@ -0,0 +1,24 @@
import { IS_ENTERPRISE } from "@/lib/constants/config";
import { useNavigate } from "@tanstack/react-router";
import { useEffect } from "react";
import ProxyView from "../views/proxyView";
export default function ProxyPage() {
const navigate = useNavigate();
useEffect(() => {
if (!IS_ENTERPRISE) {
navigate({ to: "/workspace/config/client-settings", replace: true });
}
}, [navigate]);
if (!IS_ENTERPRISE) {
return null;
}
return (
<div className="mx-auto flex w-full max-w-7xl">
<ProxyView />
</div>
);
}