AnhviNguyen commited on
Commit
1c4e9aa
·
1 Parent(s): 6d6dbfc

requir.txt

Browse files
AGENTS.md CHANGED
@@ -1,7 +1,7 @@
1
  <!-- gitnexus:start -->
2
  # GitNexus — Code Intelligence
3
 
4
- This project is indexed by GitNexus as **ielts_web** (13585 symbols, 31205 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
5
 
6
  > If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first.
7
 
 
1
  <!-- gitnexus:start -->
2
  # GitNexus — Code Intelligence
3
 
4
+ This project is indexed by GitNexus as **ielts_web** (13590 symbols, 31209 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
5
 
6
  > If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first.
7
 
CLAUDE.md CHANGED
@@ -1,7 +1,7 @@
1
  <!-- gitnexus:start -->
2
  # GitNexus — Code Intelligence
3
 
4
- This project is indexed by GitNexus as **ielts_web** (13585 symbols, 31205 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
5
 
6
  > If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first.
7
 
 
1
  <!-- gitnexus:start -->
2
  # GitNexus — Code Intelligence
3
 
4
+ This project is indexed by GitNexus as **ielts_web** (13590 symbols, 31209 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
5
 
6
  > If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first.
7
 
backend/requirements.txt CHANGED
@@ -21,6 +21,8 @@ python-multipart>=0.0.9
21
  boto3>=1.34.0
22
  cloudinary>=1.41.0
23
  prometheus-client>=0.20.0
 
 
24
 
25
  # ── ML / Audio ────────────────────────────────────────────────────────────────
26
  torch>=2.3.1
 
21
  boto3>=1.34.0
22
  cloudinary>=1.41.0
23
  prometheus-client>=0.20.0
24
+ yt-dlp
25
+ yt-dlp==2026.06.10
26
 
27
  # ── ML / Audio ────────────────────────────────────────────────────────────────
28
  torch>=2.3.1
fronted/functions/api/[[path]].js CHANGED
@@ -17,12 +17,13 @@ function isContentCacheable(request, upstreamPath) {
17
  export async function onRequest(context) {
18
  const apiOrigin = context.env.API_ORIGIN || DEFAULT_API_ORIGIN
19
  const url = new URL(context.request.url)
20
- const upstreamPath = url.pathname.replace(/^\/api/, '') || '/'
 
21
  const upstream = new URL(upstreamPath, apiOrigin)
22
  upstream.search = url.search
23
- const cacheable = isContentCacheable(context.request, upstreamPath)
24
  const cacheKey = new Request(
25
- new URL(`/api-cache${upstreamPath}${url.search}`, url.origin).toString(),
26
  { method: 'GET' },
27
  )
28
 
 
17
  export async function onRequest(context) {
18
  const apiOrigin = context.env.API_ORIGIN || DEFAULT_API_ORIGIN
19
  const url = new URL(context.request.url)
20
+ const upstreamPath = url.pathname
21
+ const cachePath = upstreamPath.replace(/^\/api/, '') || '/'
22
  const upstream = new URL(upstreamPath, apiOrigin)
23
  upstream.search = url.search
24
+ const cacheable = isContentCacheable(context.request, cachePath)
25
  const cacheKey = new Request(
26
+ new URL(`/api-cache${cachePath}${url.search}`, url.origin).toString(),
27
  { method: 'GET' },
28
  )
29