fixed api issue concerning with POST /api/youtube/info endpoint, upgr… #129
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixed YouTube Info Endpoint (404 Issue)
File Modified: src/app/analyze/[videoId]/metadata.ts
Problem: The code was calling /api/youtube/info directly on the Python backend (Cloud Run), but that endpoint was intentionally removed in v0.5.3. The YouTube info endpoint now exists only as a Next.js API route.
Solution: Updated fetchVideoInfo() to call the internal Next.js API route instead:
Changed from: ${PYTHON_BACKEND_URL}/api/youtube/info (POST)
Changed to: ${NEXT_JS_URL}/api/youtube/info?videoId=xxx (GET)
Also mapped the response fields correctly (uploader → channelTitle, thumbnail → thumbnailUrl)
Security Patches Applied
Vulnerabilities Addressed:
CVE-2025-55184 (High Severity - Denial of Service)
CVE-2025-55183 (Medium Severity - Source Code Exposure)
CVE-2025-67779 (Complete DoS Fix)
Package Updated:
next: ^15.3.5 → ^15.3.8
Minor UI change in homepage
Hero Section Subtitle Typography
File Modified: src/components/homepage/NewHomePageContent.tsx
App Logo Title Font
Files Modified:
src/app/layout.tsx - Added Nunito font from Google Fonts
tailwind.config.js - Added font-nunito to the font family configuration
src/components/common/Navigation.tsx - Applied Nunito font to logo text
src/components/common/Footer.tsx - Applied Nunito font for consistency
File Modified: src/components/homepage/RecentVideos.tsx