raphaelameaume / fragment

[alpha] A web development environment for creative coding
https://fragment.tools
MIT License
828 stars 19 forks source link

Fix print server urls in preview task #121

Closed raphaelameaume closed 6 months ago

raphaelameaume commented 6 months ago

Summary

This PR fixes an issue with the display of URLs from the preview server in the terminal.

Details In case of multiple networks URLs, the URLs would be in the same line and not separated by a space, displaying this kind of thing:

Network: http://localhost:4173/Network: http://192.168.0.1:4173

Beyond readability, this would break opening the link if the terminal supports it since the first one is interpreted as a link to http://localhost:4173/Network which is obviously wrong.