From 55ce3d7630d0c3e8a3246a8a8fb8ae90e5b0d381 Mon Sep 17 00:00:00 2001 From: Eric Ihli Date: Thu, 1 Jul 2021 07:19:43 -0500 Subject: [PATCH] Ignore cljs build dir and fix bug in show rhyme --- .gitignore | 2 ++ web/src/com/darklimericks/server/handlers.clj | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 23bcc1a..54e52f2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ .nrepl-port .cpcache /kv/data +/web/resources/public/wgu/cljs-runtime/ +/web/resources/public/cljs-runtime/ diff --git a/web/src/com/darklimericks/server/handlers.clj b/web/src/com/darklimericks/server/handlers.clj index 3840d05..f50b290 100644 --- a/web/src/com/darklimericks/server/handlers.clj +++ b/web/src/com/darklimericks/server/handlers.clj @@ -273,9 +273,9 @@ {:status 201 :headers {"Content-Type" "text/html; charset=utf-8"} :body (views/wrap-with-js - db - request - {} + {:db db + :request request + :opts {}} (views/show-rhyme-suggestion request suggestions))})))