1 min read 28 words Updated Sep 24, 2026 Created Sep 24, 2026
app.use("/*", serveStatic({ root: "./static"}))

For making all files in /static accessabil, starting with the /-path in the URL.
The serveStatic function depends on the adapter used.