Skip to content

Allow local connections to cable when in dev env

Denys Mishunov requested to merge 432723-allow-local-origin-indev into master

What does this MR do and why?

The MR adds 127.0.0.1 and gdk.test to allowed origins when connecting to ActionCable in dev environment. This allows testing WebSocket connections in the local Web IDE + Duo Chat instances.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

nevermind the "error" respond from chat - it's irrelevant to this MR

Before After
Screenshot_2024-01-30_at_14.26.15 Screenshot_2024-01-30_at_14.24.50

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to gitlab-vscode-extension#1219 (closed) and #432723 (closed)

Edited by Denys Mishunov

Merge request reports