Babylon and Express, serveStatic

hi JakeMN - welcome to the forums. On newer express you can just use express.static.

import express from "express";
const app = express();
app.use(express.static(pathToGames));
...

Serving static files in Express.

2 Likes