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

PubSub event URL mismatch #83

Closed
yk2081 opened this issue Aug 11, 2016 · 2 comments
Closed

PubSub event URL mismatch #83

yk2081 opened this issue Aug 11, 2016 · 2 comments

Comments

@yk2081
Copy link

yk2081 commented Aug 11, 2016

First of all, I'd like to mention that I really appreciate what you do for Loopback & Ng2.

I am not sure if it's a bug but it looks like for PubSub component, the client is listening for the complete URL. ( ex: [POST]http://localhost:3000/api/Documents )
However, it seems the server is emitting the partial URL. (ex: [POST]/api/Documents )

My project has totally separated server and client so they each have completely different URL so this caused a problem.
I have modified the base.service.ts to make it work but this obviously gets overwritten whenever I build a new SDK so would you be able to update your code?

Thank you!

@jonathan-casarrubias
Copy link
Collaborator

Hey @yk2081 thanks for reporting I will verify and fix this issue ASAP

@jonathan-casarrubias
Copy link
Collaborator

This issue has been fixed and will be published under version RC9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants