Skip to content

Commit 2d58220

Browse files
committed
removed consle.log from frontend
1 parent 409add4 commit 2d58220

File tree

4 files changed

+3
-12
lines changed

4 files changed

+3
-12
lines changed

apps/backend/app/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ def create_app() -> FastAPI:
7676
app.add_middleware(
7777
CORSMiddleware,
7878
allow_origins=[
79-
"https://collegepathfinder.vercel.app",
80-
"http://localhost:5173",
79+
"https://collegepathfinder.vercel.app",
80+
"http://localhost:5173",
8181
"http://localhost:3000",
8282
"https://13.205.81.121"
8383
],

apps/frontend/src/App.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@ import { AuthProvider, useAuth } from './contexts/AuthContext';
55

66
const GOOGLE_CLIENT_ID = import.meta.env.VITE_GOOGLE_CLIENT_ID || '';
77

8-
// Debug logging for client ID
9-
console.log('Environment check:', {
10-
VITE_GOOGLE_CLIENT_ID: import.meta.env.VITE_GOOGLE_CLIENT_ID,
11-
GOOGLE_CLIENT_ID_USED: GOOGLE_CLIENT_ID,
12-
hasClientId: !!GOOGLE_CLIENT_ID,
13-
environment: import.meta.env.MODE
14-
});
15-
168
import Navbar from './components/Navbar';
179
import Home from './pages/Home';
1810
import Colleges from './pages/Colleges';

apps/frontend/src/pages/AIChat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ const AIChat: React.FC = () => {
206206
if (line.startsWith('data: ')) {
207207
try {
208208
const data = JSON.parse(line.slice(6));
209-
console.log('📨 SSE Event:', data.type);
209+
console.log('SSE Event:', data.type);
210210

211211
switch (data.type) {
212212
case 'session_created':

apps/frontend/src/services/api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ const apiClient = axios.create({
1515
timeout: 10000,
1616
headers: {
1717
'Content-Type': 'application/json',
18-
'ngrok-skip-browser-warning': 'true', // Skip ngrok browser warning page
1918
},
2019
});
2120

0 commit comments

Comments
 (0)