From 267470aa756a4a4465c6f5c81d6eb9033a4e8119 Mon Sep 17 00:00:00 2001 From: Antonio Cheong Date: Tue, 5 Sep 2023 15:18:13 +0800 Subject: [PATCH] Add /ws.obsidian.md WsHandler path (#21) Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> --- cmd/obsidian-sync/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/obsidian-sync/main.go b/cmd/obsidian-sync/main.go index e61de3e..f61e54c 100644 --- a/cmd/obsidian-sync/main.go +++ b/cmd/obsidian-sync/main.go @@ -61,6 +61,7 @@ func main() { router.GET("/", handlers.WsHandler) router.GET("/ws", handlers.WsHandler) + router.GET("/ws.obsidian.md", handlers.WsHandler) endless.ListenAndServe(config.AddressHttp, router)