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

[fix] Fixed websocket connection use API URL and upgraded netjsongraph.js #233

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

pandafy
Copy link
Member

@pandafy pandafy commented Nov 26, 2024

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • I have updated the documentation.

Description of Changes

The netjspngraph.js library will send credentials in fetch request which is
required for CORS request.

Related to openwisp/docker-openwisp#353


Websocket should use the hostname defined in OPENWISP_NETWORK_TOPOLOGY_API_BASEURL.

Blockers

@coveralls
Copy link

coveralls commented Nov 26, 2024

Coverage Status

coverage: 98.228%. remained the same
when pulling 96b2c68 on upgrade-netjsongraph.js
into a6d026b on master.

The library will send credentials in fetch request which is
required for CORS request.
@pandafy pandafy force-pushed the upgrade-netjsongraph.js branch from 6f2685f to 96b2c68 Compare November 26, 2024 18:24
@nemesifier nemesifier merged commit 0f56b62 into master Nov 26, 2024
12 checks passed
@nemesifier nemesifier deleted the upgrade-netjsongraph.js branch November 26, 2024 19:45
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.

3 participants