Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix open in browser with APP_PORT #663

Merged
merged 2 commits into from
Feb 8, 2024
Merged

Conversation

ijpatricio
Copy link
Contributor

When a env variable for APP_PORT is defined (to something else than 80), then the site won't open correctly on the sail open command.

This PR adds a simple check:

  • If APP_PORT is set and not to 80, then the FULL_URL gets the port added.
  • else FULL_URL is set as before

Finally, open FULL_URL.

@taylorotwell taylorotwell merged commit 3047e1a into laravel:1.x Feb 8, 2024
3 checks passed
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.

None yet

2 participants