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.