Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
globalThis.location.port !== '';

// Base CSP for production (include both http and https for API compatibility)
let connectSrc = "'self' wss://api.tradesignal.capital ws://api.tradesignal.capital https://api.tradesignal.capital http://api.tradesignal.capital https://api.stripe.com https://checkout.stripe.com https://r.stripe.com";
let connectSrc = "'self' wss://api.tradesignal.capital ws://api.tradesignal.capital https://api.tradesignal.capital http://api.tradesignal.capital https://api.stripe.com https://checkout.stripe.com https://r.stripe.com https://vitals.vercel-analytics.com";

// Add localhost origins in development
if (isDevelopment) {
Expand Down
35 changes: 35 additions & 0 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
},
"dependencies": {
"@tanstack/react-query": "^5.12.2",
"@vercel/speed-insights": "^1.0.11",
"axios": "^1.6.2",
"date-fns": "^2.30.0",
"framer-motion": "^12.23.25",
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ import ReactDOM from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { Toaster } from 'react-hot-toast';
import { injectSpeedInsights } from '@vercel/speed-insights';
import App from './App';
import './index.css';

// Initialize Vercel Speed Insights
injectSpeedInsights();

// Create React Query client
const queryClient = new QueryClient({
defaultOptions: {
Expand Down
Loading