Skip to content

Conversation

@jinzhongjia
Copy link
Member

@jinzhongjia jinzhongjia commented Jun 21, 2025

  • set public window port to 9090 for network access
  • display both localhost and full URL in private window
  • update private.html to show two URL spans for public window
  • fix script src path in private.html and public.html
…et custom port - set public window port to 9090 for network access - display both localhost and full URL in private window - update private.html to show two URL spans for public window - fix script src path in private.html and public.html
@jinzhongjia jinzhongjia changed the title feat(public_network_access): improve public window link display and … feat(public_network_access): improve public window link display and custom port Jun 21, 2025
@jinzhongjia jinzhongjia requested a review from Copilot June 21, 2025 17:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves the public window link display and custom port functionality for public network access. Key changes include updating the script src paths in both HTML files, modifying the private window to display two URL spans, and setting the public window port to 9090 in the Zig server code.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
examples/public_network_access/public.html Updated the script src path to a relative path.
examples/public_network_access/private.html Updated the script src, modified URL span IDs and display text formatting.
examples/public_network_access/main.zig Added public port setting and revised JS generation for updating URL spans.
@jinzhongjia jinzhongjia merged commit 25e8142 into main Jun 21, 2025
14 checks passed
@jinzhongjia jinzhongjia deleted the update branch June 21, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants