diff options
| -rw-r--r-- | bin/serve.fnl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/serve.fnl b/bin/serve.fnl index fdd553f..b1ec024 100644 --- a/bin/serve.fnl +++ b/bin/serve.fnl @@ -163,7 +163,7 @@ GROUP BY products.url)" [])) 1 1)) (must - (luna.db.query* + (luna.db.query-assoc db "SELECT products.site, products.title, @@ -322,7 +322,7 @@ {:results (must - (luna.db.query* + (luna.db.query-assoc db (string.format "SELECT products.title, @@ -550,7 +550,8 @@ ;; inline styles so the page loads faster [:style {} [:NO-ESCAPE (fs.read-file "static/style.css")]] - [:link {:rel "icon" :href "https://everytea.ru/static/favicon.png"}] + [:link {:rel "icon" :href "https://everytea.ru/static/favicon.png" + :type "image/png"}] [:link {:rel "preload" :fetchpriority "high" :as "image" :href "/static/logo-hor.svg" :type "image/svg+xml"}] [:link {:rel "canonical" :href canonical-url}] @@ -661,4 +662,4 @@ (must (luna.router.static "GET /static/" "static/")) (when luna.debug - (must (luna.evalfn (fn [code] (fennel.eval code {:env _G}))))) + (must (luna.on-eval (fn [code] (fennel.eval code {:env _G}))))) |
