renderizando projetos no mmpCreator utilizando o lmms

This commit is contained in:
JotaChina committed 2025-12-28 15:07:47 -03:00
1 parent ca2c2fa15a
commit c602b155b9
2 files changed
+19 -2

No files matched your search

+4 -1
View File
@@ -721,7 +721,10 @@ app.post("/render", async (req, res) => {
// prioridade: sala -> pega do estado autoritativo
let projectXml = null;
if (roomName) {
if (xml && String(xml).trim().length > 0) {
projectXml = xml;
} else if (roomName) {
if (renderLocks.get(roomName)) {
return res.status(429).json({ ok: false, error: "render_in_progress" });
}