diff --git a/.env.example b/.env.example
index 0a90d71..54c522f 100644
--- a/.env.example
+++ b/.env.example
@@ -1 +1 @@
-VITE_API_BASE_URL=http://localhost:5000/api/v1
+VITE_API_BASE_URL=http://localhost:5000
diff --git a/.gitignore b/.gitignore
index cea8a0b..98ef430 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,4 +23,6 @@ dist-ssr
*.sln
*.sw?
-*.env
\ No newline at end of file
+*.env
+
+.swarm/
\ No newline at end of file
diff --git a/public/favicon.ico b/public/favicon.ico
deleted file mode 100644
index 3c01d69..0000000
Binary files a/public/favicon.ico and /dev/null differ
diff --git a/src/config.ts b/src/config.ts
index 0849a36..f01ff66 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -1,12 +1,18 @@
// Secuird Configuration
// Environment-specific settings for the application
+// Base URL without /api/v1 suffix - used for CLI sign URL
+const BASE_URL = import.meta.env.VITE_API_BASE_URL || "http://192.168.64.7:8888";
+
export const config = {
// API Configuration
api: {
- baseUrl: import.meta.env.VITE_API_BASE_URL || "http://192.168.64.7:8888/api/v1",
+ baseUrl: `${BASE_URL}/api/v1`,
},
+ // Sign URL for CLI (same as base URL, no /api/v1)
+ signUrl: BASE_URL,
+
// App metadata
app: {
name: "Secuird",
diff --git a/src/pages/user/CLIGuidePage.tsx b/src/pages/user/CLIGuidePage.tsx
index b7f3f75..d53407e 100644
--- a/src/pages/user/CLIGuidePage.tsx
+++ b/src/pages/user/CLIGuidePage.tsx
@@ -6,8 +6,7 @@ import {
CollapsibleContent,
CollapsibleTrigger,
} from "@/components/ui/collapsible";
-
-const SIGN_URL = "https://api.secuird.tech";
+import { config } from "@/config";
// ── Code block with copy button ────────────────────────────────────────────────
function CodeBlock({ code }: { code: string }) {
@@ -112,7 +111,7 @@ export default function CLIGuidePage() {
- ~/.secuird/.env`} />
+ ~/.secuird/.env`} />