Skip to content

Instantly share code, notes, and snippets.

@weavejester
Last active April 10, 2018 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save weavejester/79d47750cf22159b3a2876074f2ce76e to your computer and use it in GitHub Desktop.
Save weavejester/79d47750cf22159b3a2876074f2ce76e to your computer and use it in GitHub Desktop.
{:duct.core/project-ns site-cljs-example
:duct.core/environment :development
:duct.module/logging {}
:duct.module.web/site {}
:duct.server.http/jetty
{:handler #ig/ref :example/root-handler}
[:duct.core/handler :example/root-handler]
{:router #ig/ref :debug/root-router
:middleware [...]}
[:duct.router/cascading :debug/root-router]
[#ig/ref :debug/site-handler
#ig/ref :debug/api-handler]
[:duct.core/handler :debug/site-handler]
{:router #ig/ref :leaf-handler1
:middleware []}
[:duct.core/:debug/api-handler
{:router #ig/ref :leaf-handler2
:middleware []}
:leaf-handler1 {}
:leaf-handler2 {}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment