fix
This commit is contained in:
parent
9c169b807a
commit
eef3cdaf28
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@
|
|||
cp)))
|
||||
|
||||
(defn resource
|
||||
(^URL [path] (resource @the-url-loader path))
|
||||
(^URL [path] (resource path @the-url-loader))
|
||||
(^URL [path loader]
|
||||
(if (str/starts-with? path "/") nil ;; non-relative paths always return nil
|
||||
(getResource loader [path] true))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue