diff --git a/libs/deps-template/resources/io/github/kit_clj/kit/src/clj/core.clj b/libs/deps-template/resources/io/github/kit_clj/kit/src/clj/core.clj index 44488d3..5edde86 100644 --- a/libs/deps-template/resources/io/github/kit_clj/kit/src/clj/core.clj +++ b/libs/deps-template/resources/io/github/kit_clj/kit/src/clj/core.clj @@ -5,19 +5,19 @@ [<>.config :as config] [<>.env :refer [defaults]] - ;; Edges <% if redis? %> - [kit.edge.cache.redis]<% endif %> <% if xtdb? %> + ;; Edges<% if redis? %> + [kit.edge.cache.redis]<% endif %><% if xtdb? %> [kit.edge.db.xtdb]<% endif %><% if hikari? %> [kit.edge.db.sql.hikari]<% endif %><% if conman? %> [kit.edge.db.sql.conman]<% endif %><% if migratus? %> [kit.edge.db.sql.migratus]<% endif %><% if postgres? %> [kit.edge.db.postgres]<% endif %><% if mysql? %> [kit.edge.db.mysql]<% endif %><% if hato? %> - [kit.edge.http.hato]<% endif %> <% if quartz? %> - [kit.edge.scheduling.quartz]<% endif %> <% if selmer? %> - [kit.edge.templating.selmer]<% endif %> <% if metrics? %> - [kit.edge.utils.metrics]<% endif %> <% if repl? %> - [kit.edge.utils.repl]<% endif %> <% if nrepl? %> + [kit.edge.http.hato]<% endif %><% if quartz? %> + [kit.edge.scheduling.quartz]<% endif %><% if selmer? %> + [kit.edge.templating.selmer]<% endif %><% if metrics? %> + [kit.edge.utils.metrics]<% endif %><% if repl? %> + [kit.edge.utils.repl]<% endif %><% if nrepl? %> [kit.edge.utils.nrepl]<% endif %> [kit.edge.server.undertow] [<>.web.handler] diff --git a/libs/deps-template/resources/io/github/kit_clj/kit/src/clj/web/handler.clj b/libs/deps-template/resources/io/github/kit_clj/kit/src/clj/web/handler.clj index 38a5d10..35dd408 100644 --- a/libs/deps-template/resources/io/github/kit_clj/kit/src/clj/web/handler.clj +++ b/libs/deps-template/resources/io/github/kit_clj/kit/src/clj/web/handler.clj @@ -12,7 +12,7 @@ (router) (ring/routes ;; Handle trailing slash in routes - add it + redirect to it - ;; https://github.com/metosin/reitit/blob/master/doc/ring/slash_handler.md + ;; https://github.com/metosin/reitit/blob/master/doc/ring/slash_handler.md (ring/redirect-trailing-slash-handler) (ring/create-resource-handler {:path "/"}) (when (some? api-path)