microsoft / vscode-spring-boot-dashboard

Spring Boot Dashboard for VS Code
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-spring-boot-dashboard
Other
56 stars 31 forks source link

Endpoint URLs should be mapped correctly in Codespaces #300

Closed akaroml closed 1 year ago

akaroml commented 1 year ago

The URLs all use localhost as the host. But these types of URLs are not accessible to users using a remote environment like Codespaces. To make this correct, the dashboard extension needs to:

  1. Be aware of the current environment
  2. Generate URLs using the correct host and make sure they are accessible with a single click
  3. Check if the required port is forwarded and ask if not
Eskibear commented 1 year ago

Demo of PR #301

https://user-images.githubusercontent.com/2351748/228149773-606f6ecd-3bbc-4cae-89a9-c14d31bc8ffb.mp4