Skip to content

Commit

Permalink
fix: load /image/lib/entryjs/ ...
Browse files Browse the repository at this point in the history
fix #13
  • Loading branch information
gnlow committed Dec 29, 2023
1 parent d0a9a1b commit 808cbc5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ app.get("/src/*", scriptHandler)
app.use("/deps/*", etag({weak: true}))
app.get("/deps/*", scriptHandler)

app.get("/image/lib/entry-js/images/*", async c => {

// /image/lib/entryjs/images/
// /image/lib/entry-js/images/
app.get("/image/lib/*/images/*", async c => {
const path = new URL(c.req.url).pathname
.replace(/^\/image\//, "https://playentry.org/")
return c.body(
Expand Down

0 comments on commit 808cbc5

Please sign in to comment.