Skip to content

Conversation

@majiayu000
Copy link

Fixes #54

Changes

  • Add default home route (/) to Flask template that renders a landing page
  • Add styled index.html template showing server is running
  • Configure VS Code remote port forwarding settings for ports 5000, 3000, 8000

🤖 Generated with Claude Code

- Added VS Code port forwarding settings to IDE configurations:
  - remote.localPortHost: localhost
  - remote.autoForwardPorts: true
  - remote.autoForwardPortsSource: process
  - remote.portsAttributes for common ports (3000, 5000, 8000)
- Added default home route to Flask template with render_template
- Created welcome page in Flask index.html template

This fixes the issue where clicking 'Open in Browser' in the code-server
popup would redirect to an empty page. The fix configures proper port
forwarding behavior and ensures Flask has a default route to display.

Fixes TransformerOptimus#54

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: majiayu000 <1835304752@qq.com>
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

Successfully merging this pull request may close these issues.

Popup on the code block with "Open in browser redirects to an empty page"

1 participant