mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
Again, I think I've solved the Tomcat startup issue.
This commit is contained in:
parent
3943bd02e7
commit
6875abae84
3 changed files with 8 additions and 4 deletions
|
|
@ -38,7 +38,7 @@
|
|||
:scripts {}
|
||||
:styles {}}
|
||||
:geocsv {:formatter "smeagol.extensions.geocsv/process-geocsv"
|
||||
:scripts {:core {:local "vendor/node_modules/@simon_brooke/geocsv/js/geocsv.js"}
|
||||
:scripts {:core {:local "vendor/node_modules/geocsv-js/js/geocsv.js"}
|
||||
:leaflet {:local "vendor/node_modules/leaflet/dist/leaflet.js"
|
||||
:remote "https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"}
|
||||
:papaparse {:local "vendor/node_modules/papaparse/papaparse.js"
|
||||
|
|
|
|||
|
|
@ -69,8 +69,12 @@
|
|||
[#(wrap-internal-error % :log (fn [e] (log/error e)))
|
||||
#(wrap-resource % "public")
|
||||
smeagol-wrap-content-type
|
||||
#(wrap-file % util/content-dir
|
||||
{:index-files? false :prefer-handler? true})
|
||||
#(try
|
||||
(wrap-file % util/content-dir
|
||||
{:index-files? false :prefer-handler? true})
|
||||
(catch Exception error
|
||||
(log/fatal "Could not locate content dir" util/content-dir error)
|
||||
%))
|
||||
wrap-not-modified])
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -369,7 +369,7 @@
|
|||
[messages]
|
||||
[:head
|
||||
[:title (as-hiccup :smeagol-not-initialised messages)]
|
||||
[:link {:href "/content/stylesheet.css" :rel "stylesheet"}]])
|
||||
[:link {:href "content/stylesheet.css" :rel "stylesheet"}]])
|
||||
|
||||
|
||||
(defn as-hiccup-header
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue