I want to use websocket to connect a server, but I canât connect through ws://, as itâll show error âxxxx loaded from https, the endpoint must be through wssâ , so I changed the url to wss:// and set up the port.
But when I added the domain wss://xxxxx.com to the manifest.json, and tried to connect to wss://xxxxx.com:[port], it showed a new error 'Please add âwss://xxxxx.com:[port]â to the networkAccess > allowedDomains field in your manifest.json
Then I did what it told me to, and got âmanifest errorâ because âwss://xxxxx.com:[port]â is not a valid url 🫠
Currently the work around is to set allowedDomains to â*â, but I want to use constraints to domains. So how can I set up a right domain for the url with a port?
