Archived
Serve article images locally: /images proxy route with SSRF-guarded
upstream fetch, magic-byte validation, persistent /data/media cache, immutable cache headers, CoverImage fallback component, og:image to absolute proxy URL. Ported from technews 6f08da3.
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@
|
||||
"build": "prisma generate && next build",
|
||||
"start": "next start",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"test": "tsx tests/llm-parse.test.ts",
|
||||
"test": "tsx tests/llm-parse.test.ts && tsx tests/image-proxy.test.ts",
|
||||
"db:generate": "prisma generate",
|
||||
"db:push": "prisma db push",
|
||||
"db:seed": "tsx prisma/seed.ts",
|
||||
|
||||
Reference in New Issue
Block a user