应用截图
详细介绍
Gotify 的非官方浏览器扩展程序。
用于查看和管理 Gotify 服务器的扩展程序。
你必须配置服务器的 CORS,允许扩展程序发出请求,如下所示:
在 config.yml 中:
server:
cors:
alloworigins:
- "chrome-extension://defcailckfpgaigaiijligpnjipkhhmg"
allowmethods:
- "GET"
- "POST"
- "OPTIONS"
- "DELETE"
allowheaders:
- "Authorization"
- "content-type"
stream:
allowedorigins: # allowed origins for websocket connections (same origin is always allowed, default only same origin)
- "defcailckfpgaigaiijligpnjipkhhmg"
或者,在 docker-compose.yml 中:
environment:
GOTIFY_SERVER_CORS_ALLOWORIGINS: "- \"chrome-extension://defcailckfpgaigaiijligpnjipkhhmg\""
GOTIFY_SERVER_CORS_ALLOWHEADERS: "- \"Authorization\"\n- \"content-type\""
GOTIFY_SERVER_CORS_ALLOWMETHODS: "- \"GET\"\n- \"POST\"\n- \"OPTIONS\"\n- \"DELETE\""
GOTIFY_SERVER_STREAM_ALLOWEDORIGINS: "- \"defcailckfpgaigaiijligpnjipkhhmg\""
标志来自 https://github.com/gotify/logo
更多信息请参阅:https://gotify.net/docs/config