Skip to content

✨ [Feature request]: Set the PORT number dynamically on local server. #1243

@Hat52

Description

@Hat52

Is your feature request related to a problem? Please describe.

When we try to create a new play on localhost and If we already have something running on port 3000 then the project successfully runs on a different port but when we hit the create play button it redirects to port 3000 which is not the intended port for the project.

Describe the solution you'd like.

The current solution wants us to set the port number in a .env file If we do that it will successfully open the new play form on that port but what I am suggesting is that we exclude the need to set an env variable for this specific purpose.

Describe alternatives you've considered.

none

Screenshot / Screenshare

inside CreatePaly file
image
This is the code that needs to be updated/

Additional context

none

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions