设置端点
成功安装协作服务器本地部署后,您应该通过设置端点来配置 CKEditor 协作 Web 应用程序,以允许 Web 应用程序与服务器之间进行通信。
-
WebSockets 端点
http://localhost[:application_http_port]/ws/
-
Easy Image 上传端点
http://localhost[:application_http_port]/easyimage/upload/
-
令牌端点
您应该使用在云服务管理面板
中生成的数据来实现您自己的令牌端点。请参考 Node.js 中的令牌端点 实现示例。 -
面板端点
http://localhost[:application_http_port]/panel/
-
Restful API 文档端点
http://localhost[:application_http_port]/api/v1/docs/
-
健康端点
http://localhost[:application_http_port]/health/
通常,负载均衡器需要一个端点来检查应用程序状态。为此,最好使用此端点,它返回有关应用程序的基本信息。
某些功能(如文档、管理面板或 Easy Image)需要识别 CKEditor 协作服务器本地部署可用的公共端点。在 专用文章 中详细了解覆盖公共端点。