我ws在服务器端使用npm,在客户端使用websocket。
从 node-js 运行此代码时它工作正常,但从浏览器运行它会出现以下错误:
Run Code Online (Sandbox Code Playgroud)failed: Error in connection establishment: net::ERR_CERT_COMMON_NAME_INVALID
failed: Error in connection establishment: net::ERR_CERT_COMMON_NAME_INVALID
Run Code Online (Sandbox Code Playgroud) 构造graphQL项目/服务器端的最佳方法是什么?这是我目前的结构
配置
楷模