mirror of
https://github.com/logseq/logseq.git
synced 2026-04-25 14:44:53 +00:00
enhance(plugin): auto updates for web plugins
This commit is contained in:
@@ -785,7 +785,7 @@
|
||||
(some-> github-repo
|
||||
(plugin-common-handler/get-web-plugin-checker-url!))
|
||||
(str url "/package.json"))
|
||||
^js res (js/window.fetch package-url)
|
||||
^js res (js/window.fetch (str package-url "?v=" (js/Date.now)))
|
||||
package (if (and (.-ok res)
|
||||
(= (.-status res) 200))
|
||||
(-> (.json res)
|
||||
|
||||
Reference in New Issue
Block a user