Skip to content

Allow ws_url for local development#1052

Merged
saeedvaziry merged 1 commit intovitodeploy:4.xfrom
RichardAnderson:fix/ws_url
Mar 17, 2026
Merged

Allow ws_url for local development#1052
saeedvaziry merged 1 commit intovitodeploy:4.xfrom
RichardAnderson:fix/ws_url

Conversation

@RichardAnderson
Copy link
Member

This pull request introduces support for a configurable WebSocket URL separate from the main application URL. The main change is to allow overriding the WebSocket host and protocol via a new configuration option, improving local development flexibility.

Configuration enhancements:

  • Added a new ws_url configuration option to config/app.php, which can be set via the WS_URL environment variable.

WebSocket URL handling:

  • Updated the EventsController to use the new ws_url configuration value (falling back to app.url if not set) when determining the WebSocket host and protocol.

@saeedvaziry saeedvaziry merged commit 3c0e538 into vitodeploy:4.x Mar 17, 2026
2 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.

2 participants