bump threejs version, split webpack scripts

This commit is contained in:
Stewart Allen 2025-07-09 14:30:46 -04:00
commit 6a683eec1d
2 changed files with 8 additions and 8 deletions

3
app.js
View file

@ -550,11 +550,10 @@ function rewriteHtmlVersion(req, res, next) {
"/lib/main/mesh.js"
].indexOf(req.app.path) >= 0) {
addCorsHeaders(req, res);
const data = append[req.app.path.split('/')[3].split('.')[0]];
if (!data) return next();
console.log({ append: req.app.path, data: data.length });
if (debug) logger.log({ append: req.app.path, data: data.length });
const real_write = res.write;
const real_end = res.end;