Skip to content

Client Always Looks for Server at "/" #611

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

Closed
rmorshea opened this issue Jan 24, 2022 · 0 comments · Fixed by #612
Closed

Client Always Looks for Server at "/" #611

rmorshea opened this issue Jan 24, 2022 · 0 comments · Fixed by #612
Labels
priority-1-high Should be resolved ASAP.
Milestone

Comments

@rmorshea
Copy link
Collaborator

Current Situation

Right now the expected location of the server is hard coded to be /. This should be changed to look at ../ relative to the current page.

Proposed Actions

Change this line to use document.location.pathname somehow: https://github.com/idom-team/idom/blob/main/src/client/packages/idom-app-react/src/index.js#L7

Work Items

Same as above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-1-high Should be resolved ASAP.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant