fix: incorrect page title when 'hls__' is opened (#8697)

* dev: move 'hls-file?' to pdf-utils
* dev: use 'hls-file?' instead of string comparison
* fix: window title when hls file opened
This commit is contained in:
Adam
2023-02-28 10:10:33 +03:00
committed by GitHub
parent 6108aa1036
commit 6f45107408
5 changed files with 11 additions and 10 deletions

View File

@@ -25,10 +25,6 @@
[reitit.frontend.easy :as rfe]
[rum.core :as rum]))
(defn hls-file?
[filename]
(and filename (string? filename) (string/starts-with? filename "hls__")))
(defn inflate-asset
[original-path]
(let [filename (util/node-path.basename original-path)