html/404 should reside in root

This commit is contained in:
jem 2019-12-16 15:00:25 +01:00
parent cdf7dbef6e
commit edc93f6857
2 changed files with 4 additions and 2 deletions

View file

@ -119,5 +119,7 @@
(defn copy-resources-from-theme!
[fs-prefix theme target-path ignore-patterns]
(let [theme-path (str "templates/themes/" theme)]
(copy-resources! fs-prefix theme-path ["css" "js" "html"]
(copy-resources! fs-prefix theme-path ["css" "js"]
target-path ignore-patterns)
(copy-resources! fs-prefix (str theme-path "/html") ["404.html"]
target-path ignore-patterns)))

View file

@ -106,5 +106,5 @@
(verify-file-exists
(str target "/css/dummy.css"))
(verify-file-exists
(str target "/html/404.html"))
(str target "/404.html"))
))))