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

Port forwarding is incorrect if passing URI for app or api #75

Closed
anthonychu opened this issue Feb 14, 2021 · 0 comments · Fixed by #78
Closed

Port forwarding is incorrect if passing URI for app or api #75

anthonychu opened this issue Feb 14, 2021 · 0 comments · Fixed by #78
Labels
priority: high (P0) High priority type: bug Something isn't working

Comments

@anthonychu
Copy link
Member

Describe the bug
If passing a URI of a running dev server or Functions Core Tools, the incorrect ports are used.

To Reproduce

  1. Start a react app
  2. swa start http://localhost:3000
  3. Open http://localhost:4200

Expected behavior
App works in browser

Actual behavior
CLI tries to forward to port 4200 instead of 3000

image

Desktop (please complete the following information):

  • OS: macOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: high (P0) High priority type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant