amitmerchant1990 / amitmerchant-dot-com-comments

1 stars 0 forks source link

vscode-port-forwarding/ #102

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Built-in port forwarding in VS Code — Amit Merchant — A blog on PHP, JavaScript, and more

There are a lot of tools like ngrok that let you expose your local server to the internet. But did you know VS Code has just got this feature in the form of port forwarding so that you don’t need to install any third-party tool to do this anymore?

https://www.amitmerchant.com/vscode-port-forwarding/

yuumuu commented 1 year ago

In my Laravel project, if I change pages, say from the home page to the about page, the URL ports back to localhost:8000 (localhost:8000/about), not (https://gmzvpcxq-8000.asse.devtunnels.ms /about) ), how to solve it so that the URL port remains the same as the URL forwarding address created by VScode?