Gotify 作者: StewartThomson
Unofficial browser extension for Gotify
19 个用户19 个用户
扩展元数据
屏幕截图
关于此扩展
An extension for viewing and managing Gotify servers
You must configure your server CORS to allow the extension to make requests, like so:
In your config.yml
server:
cors:
alloworigins:
- "moz-extension://a419db6d-a40b-4b85-b77a-e4e46991f967"
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)
- "a419db6d-a40b-4b85-b77a-e4e46991f967"
Or, in your docker-compose.yml
environment:
GOTIFY_SERVER_CORS_ALLOWORIGINS: "- \"moz-extension://a419db6d-a40b-4b85-b77a-e4e46991f967\""
GOTIFY_SERVER_CORS_ALLOWHEADERS: "- \"Authorization\"\n- \"content-type\""
GOTIFY_SERVER_CORS_ALLOWMETHODS: "- \"GET\"\n- \"POST\"\n- \"OPTIONS\"\n- \"DELETE\""
GOTIFY_SERVER_STREAM_ALLOWEDORIGINS: "- \"a419db6d-a40b-4b85-b77a-e4e46991f967\""
Logo is from https://github.com/gotify/logo
More info can be found here: https://gotify.net/docs/config
You must configure your server CORS to allow the extension to make requests, like so:
In your config.yml
server:
cors:
alloworigins:
- "moz-extension://a419db6d-a40b-4b85-b77a-e4e46991f967"
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)
- "a419db6d-a40b-4b85-b77a-e4e46991f967"
Or, in your docker-compose.yml
environment:
GOTIFY_SERVER_CORS_ALLOWORIGINS: "- \"moz-extension://a419db6d-a40b-4b85-b77a-e4e46991f967\""
GOTIFY_SERVER_CORS_ALLOWHEADERS: "- \"Authorization\"\n- \"content-type\""
GOTIFY_SERVER_CORS_ALLOWMETHODS: "- \"GET\"\n- \"POST\"\n- \"OPTIONS\"\n- \"DELETE\""
GOTIFY_SERVER_STREAM_ALLOWEDORIGINS: "- \"a419db6d-a40b-4b85-b77a-e4e46991f967\""
Logo is from https://github.com/gotify/logo
More info can be found here: https://gotify.net/docs/config
评分 4(1 位用户)
更多信息