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

Deprecate usage of httpRoot and add warning #2953

Merged
merged 4 commits into from Apr 23, 2021

Conversation

dceejay
Copy link
Member

@dceejay dceejay commented Apr 23, 2021

(no change is actual behaviour yet - just warning)
Should we remove option from settings ? or just label it ?

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

This PR - deprecates the usage of httpRoot in settings .js - having overlapping options can cause confusion - Cleaner just to be explicit about httpNodeRoot and httpAdminRoot. This PR only adds a warning - and does not actually change functionality yet.

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run grunt to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

(no change is actual behaviour yet - just warning)
Should we remove option from settings ? or just label it ?
@dceejay dceejay changed the title Deprecate usage of http root and add warning Deprecate usage of httpRoot and add warning Apr 23, 2021
@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 67.56% when pulling fdd0a93 on depreacte-usage-of-httpRoot-and-add-warning into dd12572 on dev.

@knolleary knolleary added the 2.0 label Apr 23, 2021
@knolleary knolleary added this to In progress in Node-RED 2.0 Planning Apr 23, 2021
dceejay and others added 3 commits April 23, 2021 16:36
@knolleary knolleary merged commit 62f2a55 into dev Apr 23, 2021
Node-RED 2.0 Planning automation moved this from In progress to Done Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants