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: support using fixed url path prefixes for websocket communication #33

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

reubenmiller
Copy link
Owner

When using a c8y host which includes a fixed path, then the fix path element should be used when building any relative paths.

For example:

http://localhost:8001/c8y

Should be translated to

http://localhost:8001/c8y/cep/realtime

When trying to establish a bayeux client to the realtime endpoint.

Relates to: reubenmiller/go-c8y-cli#335

@reubenmiller reubenmiller merged commit 2c4b7b7 into main Jan 15, 2024
4 checks passed
@reubenmiller reubenmiller deleted the fix-support-proxy-paths branch January 15, 2024 16:17
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.

1 participant