Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow configuring debugApi host address #1546

Closed
wants to merge 3 commits into from

Conversation

f0x52
Copy link
Contributor

@f0x52 f0x52 commented Mar 15, 2022

implements #1545

@f0x52
Copy link
Contributor Author

f0x52 commented Mar 15, 2022

Signed-off-by: f0x github@cthu.lu

@@ -84,6 +84,8 @@ properties:
type: "boolean"
port:
type: "integer"
host:
type: "string"
required: ["enabled", "port"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The JS code currently expects host to always be defined.
For that to be the case it would need to be added to this array.
However, I'd prefer it if bridge admins aren't required to update their config.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not defining host in config will keep the variable undefined, passing it around just fine? and thus keeping with the current behavior

Copy link
Contributor

@jaller94 jaller94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new value should be optional so that existing, working configs don't need to be changed.

src/DebugApi.ts Show resolved Hide resolved
@Half-Shot Half-Shot requested a review from a team as a code owner June 9, 2023 14:38
@f0x52 f0x52 closed this by deleting the head repository Sep 20, 2024
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