Skip to content

feat(vtkw_server): dynamic port and data_folder_path #22

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

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

JulienChampagnol
Copy link
Member

No description provided.

@@ -94,10 +96,12 @@ def run_server():

_Server.add_arguments(parser)
args = parser.parse_args()
args.port = os.environ.get("PORT")
if not "port" in args or args.port == 8080:
Copy link
Member

Choose a reason for hiding this comment

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

Why do you discard port 8080?

Copy link
Member Author

Choose a reason for hiding this comment

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

Port is already in the default argments and if I don't specify that is run on 8080, and I don't want any breaking change

@JulienChampagnol JulienChampagnol merged commit 6f8bf75 into next Jun 28, 2024
3 checks passed
@JulienChampagnol JulienChampagnol deleted the feat/dynamic_run_arguments branch June 28, 2024 14:52
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.

2 participants