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

target url differs from the request i am making #198

Open
regola-Tacens opened this issue Feb 16, 2022 · 2 comments
Open

target url differs from the request i am making #198

regola-Tacens opened this issue Feb 16, 2022 · 2 comments

Comments

@regola-Tacens
Copy link

Hi,
There is probably something very obvious that i am not understanding right, and the real issue is probably me not getting the polyfill right, rather than the poylfill doing something wrong...but, i am struggling with something here so if you could give me ahint it'd be much appreciated :)

when making my connection to my route: 'https://my-api.my-domain.com'
i am getting a connectionEvent of type 'error', ,telling me it can't find the route : url: "https://my-domain.com\n ",

wich in my network tab translates to a requestURL like this : "https://my-domain.com%20%20%20%20%20%20%20%20%20%20?LastEventId=215464464",

Off course my back end sends out a 404 to the front end because there is no such route

So...it keeps on failing,

@Yaffle
Copy link
Owner

Yaffle commented Mar 17, 2022

looks like you have a lot of spaces

@regola-Tacens
Copy link
Author

it's the case, i'm just not sure why it is so....i will investigate

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

No branches or pull requests

2 participants