refactor: Remove /ui path prefix

Removed the /ui basePath from Next.js configuration to serve the app at root path:

- Removed basePath: "/ui" from next.config.ts
- Updated all API route calls from /ui/api/* to /api/*
- App now accessible at root path instead of /ui subdirectory

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-05 06:29:58 +01:00
parent c8184b0984
commit fa31df4e02
7 changed files with 16 additions and 17 deletions

View File

@@ -7,7 +7,7 @@ import { cn } from "@/lib/utils";
import {
LayoutDashboard,
FolderKanban,
Bug,
Webhook,
BriefcaseBusiness,
Activity,
Menu,
@@ -35,7 +35,7 @@ const routes = [
},
{
label: "Spiders",
icon: Bug,
icon: Webhook,
href: "/spiders",
},
{