Skip to content

Fix Modbus Serial#84

Open
bobur-khay wants to merge 6 commits into
eclipse-thingweb:mainfrom
bobur-khay:fix/modbus-serial
Open

Fix Modbus Serial#84
bobur-khay wants to merge 6 commits into
eclipse-thingweb:mainfrom
bobur-khay:fix/modbus-serial

Conversation

@bobur-khay

@bobur-khay bobur-khay commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

The code generator for Modbus Serial in JS had a line of code: new URL(href)

When href: "/" the new URL() was throwing an Invalid URL.

Fix:

  • when href is / it falls back to localhost now

Comment thread node/code-gen/src/generators/go.ts Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants