It has examples where messages are supposed to be Package.Message and a space and then some JSON data. So when I tried connecting the web app, it was sending [client mudportal.com] instead of [client "mudportal.com"]. JSON data is supposed to have quotes around strings to be valid JSON as I understand.
https://github.com/plamzi/MUDPortal-Web-App/blob/78f5fa1cbb67eada3934ea291438d8692eef5fd6/proxy/wsproxy.js#L519
I've been working on adding GMCP to my MUD, going by info I found at https://www.gammon.com.au/gmcp
It has examples where messages are supposed to be Package.Message and a space and then some JSON data. So when I tried connecting the web app, it was sending [client mudportal.com] instead of [client "mudportal.com"]. JSON data is supposed to have quotes around strings to be valid JSON as I understand.