mirror of
https://github.com/direct-img/direct-img.link.git
synced 2026-10-29 07:24:52 +00:00
Fix: Serve promoted images with a + without redirecting
Rule conditions see the original path, so chained rules can't encode +s. One rule per number of +s does it instead, which only fits the free plan's 10 rules if they're shared by all sites, so static files now live under their hostname (/free.direct-img.link/1/orange%2Bcat). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-3
@@ -2,6 +2,4 @@ node_modules/
|
||||
.wrangler/
|
||||
# Filled by scripts/promote.js before each deploy
|
||||
promoted/
|
||||
public/web/
|
||||
public/free/
|
||||
public/ai/
|
||||
public/*direct-img.link/
|
||||
|
||||
Reference in New Issue
Block a user