Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Wrong URL being used when launching WebAPI in browser #912

Closed
acesteb opened this issue Jul 8, 2023 · 1 comment
Closed

Wrong URL being used when launching WebAPI in browser #912

acesteb opened this issue Jul 8, 2023 · 1 comment

Comments

@acesteb
Copy link

acesteb commented Jul 8, 2023

Describe the bug
When running the WebAPI, the browser is launching with https://localhost:5001/https:localhost:5001/api instead of https://localhost:5001/api

To Reproduce
Steps to reproduce the behavior:

  1. Create a Web API-only solution:
  2. Run WebAPI project
  3. Browser being launched with incorrect URL

Expected behavior
When running WebAPI, should launch browser with https://localhost:5001/api URL

Additional context
In launchSettings, launch URL should be launchUrl": "https://localhost:5001/api, instead of launchUrl": "https:localhost:5001/api. i.e missing forward slash.

@jasontaylordev
Copy link
Owner

Thanks for creating this issue, the bug has been fixed. 😀

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants