improve: allows connect primitive node to reroute if primitive node has type
diff --git a/web/extensions/core/widgetInputs.js b/web/extensions/core/widgetInputs.js
index 4fe0a60135..8955fca878 100644
--- a/web/extensions/core/widgetInputs.js
+++ b/web/extensions/core/widgetInputs.js
@@ -240,6 +240,7 @@ app.registerExtension({
 
 				// No widget, we cant connect
 				if (!input.widget) {
+					if (this.outputs[0]?.type != '*' && target_node.type == "Reroute") return true;
 					if (!(input.type in ComfyWidgets)) return false;
 				}
 
