瀏覽代碼

fix: video assets can not play on desktop app

fixed https://github.com/logseq/db-test/issues/398
Tienson Qin 3 月之前
父節點
當前提交
de67a46e92
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/frontend/handler/assets.cljs

+ 1 - 1
src/main/frontend/handler/assets.cljs

@@ -167,7 +167,7 @@
 
         (util/electron?)
         ;; fullpath will be encoded
-        (path/prepend-protocol "assets:" full-path)
+        (path/prepend-protocol "file:" full-path)
 
         ;(mobile-util/native-platform?)
         ;(mobile-util/convert-file-src full-path)