You can now add secure WebSocket servers to your app's list in shopify.app.toml.
What changed
Network access declarations previously supported HTTPS servers only. You can now include secure WebSocket addresses (starting with wss://) using the same formatting rules, subdomain wildcards, and 30-entry limit. Unencrypted WebSockets still aren't accepted.
What to do
If your app doesn't use WebSockets on the online store, then no action is needed. If it does, then add a separate WebSocket entry for each server, even when the same host is already listed with HTTPS, and deploy a new app version.
For an example and testing steps, see Declare your app's network access and the app configuration reference.
Was this page helpful?