[GH-ISSUE #193] [Feature Request] 设置增加“忽略服务器错误的提醒”开关 #175

Closed
opened 2026-03-03 11:37:45 +03:00 by kerem · 2 comments
Owner

Originally created by @yuhangch on GitHub (May 11, 2023).
Original GitHub issue: https://github.com/Finb/Bark/issues/193

在自建服务器增加了权限的验证,所以.request(.ping(baseURL: ServerManager.shared.currentServer.address)),会报错。
日常除了测试也基本不会在客户端内发消息,所以希望可以有个开关。

Originally created by @yuhangch on GitHub (May 11, 2023). Original GitHub issue: https://github.com/Finb/Bark/issues/193 在自建服务器增加了权限的验证,所以`.request(.ping(baseURL: ServerManager.shared.currentServer.address))`,会报错。 日常除了测试也基本不会在客户端内发消息,所以希望可以有个开关。
kerem closed this issue 2026-03-03 11:37:45 +03:00
Author
Owner

@Finb commented on GitHub (Oct 25, 2024):

可以用nginx或者其他什么工具,单独给 /ping 路径返回一个 {"code":200,"message":"pong"}
因为我需要尽可能减少APP设置项降低使用复杂度,所以暂时不会给应用添加这个配置,需求很小众不是很必要

<!-- gh-comment-id:2436768626 --> @Finb commented on GitHub (Oct 25, 2024): 可以用nginx或者其他什么工具,单独给 /ping 路径返回一个 `{"code":200,"message":"pong"}` 因为我需要尽可能减少APP设置项降低使用复杂度,所以暂时不会给应用添加这个配置,需求很小众不是很必要
Author
Owner

@yuhangch commented on GitHub (Oct 25, 2024):

Got it,thanks👌

<!-- gh-comment-id:2436850697 --> @yuhangch commented on GitHub (Oct 25, 2024): Got it,thanks👌
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Bark#175
No description provided.