diff --git a/package.json b/package.json index 09d2807..4a37a3b 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,6 @@ "@types/markdown-it": "^14.1.1", "@types/marked": "^5.0.2", "@uiw/react-md-editor": "^4.0.5", - "@vercel/analytics": "^1.2.2", "@xenova/transformers": "^2.17.2", "ai": "^4.1.0", "ajv": "^8.17.1", @@ -63,7 +62,6 @@ "recoil": "^0.7.7", "tldraw": "^3.15.4", "use-whisper": "^0.0.1", - "vercel": "^39.1.1", "webcola": "^3.4.0", "webnative": "^0.36.3" }, diff --git a/src/App.tsx b/src/App.tsx index 55564d8..2935a80 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -7,7 +7,6 @@ import { Board } from "./routes/Board" import { Inbox } from "./routes/Inbox" import { Presentations } from "./routes/Presentations" import { Resilience } from "./routes/Resilience" -import { inject } from "@vercel/analytics" import { createRoot } from "react-dom/client" import { DailyProvider } from "@daily-co/daily-react" import Daily from "@daily-co/daily-js" @@ -35,8 +34,6 @@ import { ErrorBoundary } from './components/ErrorBoundary'; import CryptoLogin from './components/auth/CryptoLogin'; import CryptoDebug from './components/auth/CryptoDebug'; -inject(); - // Initialize Daily.co call object with error handling let callObject: any = null; try { diff --git a/vercel.json b/vercel.json deleted file mode 100644 index 10fc862..0000000 --- a/vercel.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "buildCommand": "npm run build", - "installCommand": "npm install", - "framework": "vite", - "outputDirectory": "dist", - "rewrites": [ - { - "source": "/board/(.*)", - "destination": "/" - }, - { - "source": "/board", - "destination": "/" - }, - { - "source": "/inbox", - "destination": "/" - }, - { - "source": "/contact", - "destination": "/" - }, - { - "source": "/presentations", - "destination": "/" - }, - { - "source": "/presentations", - "destination": "/resilience" - }, - { - "source": "/dashboard", - "destination": "/" - } - ], - "headers": [ - { - "source": "/assets/(.*)", - "headers": [ - { - "key": "Cache-Control", - "value": "public, max-age=31536000, immutable" - } - ] - } - ] -} \ No newline at end of file