refactor: Centralize Socket.IO client options in config for improved maintainability and consistency across prerender scripts

This commit is contained in:
sebseb7
2026-03-26 21:57:50 +01:00
parent 47ed2ec231
commit 5b7f0f788c
4 changed files with 15 additions and 19 deletions

View File

@@ -42,6 +42,7 @@ const fetchCategoryProducts = (socket, categoryId) => {
"getCategoryProducts",
{
full: true,
nocount: true,
categoryId:
categoryId === "neu" || categoryId === "bald"
? categoryId