diff --git a/js/web-server.js b/js/web-server.js index 9f51d0c2..4ca580a6 100644 --- a/js/web-server.js +++ b/js/web-server.js @@ -410,7 +410,7 @@ function handleData(req, res, next) { addCorsHeaders(req, res); res.setHeader('Cache-Control', 'private, no-cache, max-age=0'); - let tok = req.url.split('/'), + let tok = req.gs.url.path.split('/'), muid = req.headers['x-moto-ajax'], space = tok[2] || null, version = tok[3], @@ -597,7 +597,6 @@ function handleCode(req, res, next) { let cookie = getCookieValue(req.headers.cookie), key = req.gs.path.split('/')[2].split('.')[0], js = code[key]; - if (!js) { return reply404(req, res); } diff --git a/notes.md b/notes.md index f308d801..383fa97a 100644 --- a/notes.md +++ b/notes.md @@ -1,5 +1,8 @@ # Kiri:Moto todo +* circular bed support for delta printers +* hide the bed with a checkbox? indication of part outside printable area? +* set page background color? or dark mode? * better small screen support (on screen button for hiding side panels, compact selectors) * widget general add-ons (fdm supports, cam tabs) * extend mesh object to store raw + annotations (rot,scale,pos)