mainsail-crew / mainsail

Mainsail is the popular web interface for managing and controlling 3D printers with Klipper.
https://docs.mainsail.xyz
GNU General Public License v3.0
1.66k stars 348 forks source link

404 Moonraker request without Maintenance #1879

Closed mryel00 closed 2 months ago

mryel00 commented 3 months ago

Mainsail Version:

v2.11.1

Browser:

Chrome

Device:

Desktop PC

Operating System:

Windows

What happened?

If someone has no Maintenance created, there will be always a request on startup to Moonraker to a path that doesn't exist: [application.py:log_request()] - 404 GET /server/files/config/.theme/maintenance.json?time=1715354643052

What did you expect to happen instead?

According to @meteyou this should only happen the first time opening Mainsail with no entry.

How to reproduce this bug?

Have no Maintenance entry in your history and reload Mainsail once.

Additional information:

No response