All checks were successful
Implement a stateless Go service that routes /api/v1/send_push and /api/v1/ack by platform prefix to configured backends, enabling mixed official and custom mobile clients on a single PushNotificationServer URL. Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
257 B
TOML
10 lines
257 B
TOML
listen = ":8066"
|
|
request_timeout_sec = 60
|
|
|
|
[[routes]]
|
|
prefixes = ["apple_bubbles"]
|
|
url = "http://bubbles-proxy:8067"
|
|
|
|
[[routes]]
|
|
prefixes = ["apple_rn", "android_rn", "apple", "android", "apple_rnbeta", "android_rnbeta"]
|
|
url = "https://push.mattermost.com"
|