Actualizar server.js
This commit is contained in:
@@ -1313,7 +1313,7 @@ app.get("/public/portal/:token/slots", async (req, res) => {
|
||||
d.setDate(d.getDate() + 1);
|
||||
|
||||
let daysAdded = 0;
|
||||
while(daysAdded < 10) {
|
||||
while(daysAdded < 5) {
|
||||
// 🛑 NUEVO: Omitir domingos (0) y sábados (6)
|
||||
if (d.getDay() !== 0 && d.getDay() !== 6) {
|
||||
const dateStr = d.toISOString().split('T')[0];
|
||||
|
||||
Reference in New Issue
Block a user