Commit graph

7 commits

Author SHA1 Message Date
Gered f694ca675b reorganize to more closely match my other templates
i just like this other layout better
2022-01-30 11:26:32 -05:00
Gered 86eb2455b4 fix incorrect key for http server config 2022-01-18 18:58:59 -05:00
Gered 473bed92df remove wrap-base, just put the optional wrap-reload under http-server
i don't _really_ want to encourage the use of wrap-base as i think it
is usually the wrong place to add middleware to.

instead adding a placeholder :middleware list to the reitit ring-handler
as the intended alternative place for "global" middleware that needs to
be applied regardless of a reitit route match
2022-01-05 18:34:18 -05:00
Gered aa1aa76bbf have the http-kit instance returned as an HttpServer instance
this is more flexible, allowing a few http-kit functions to be called
against it (including one to stop http-kit), versus the alternate
return type which is just a simple function that can be called to stop
http-kit

this is ALSO what i thought i had done already, thus why the stop
function found below in this very same defstate is written to call
`http-kit/server-stop!` which won't actually work without setting
legacy-return-value? to false. oopsie! :-)
2022-01-05 18:01:43 -05:00
Gered f7dbd17c89 fix improperly written defstate stop function
no idea what i was thinking ...
2022-01-05 17:57:43 -05:00
Gered fb7c98b84d fix up project profiles a bit and adjust some build settings
separate out the uberjar profile so that the bits that control the
classpath are in a separate profile (now called "release") which can
be more easily brought in separately during development to test, without
being forced to build an uberjar to test

remove the uberjar alias, which only was added because i did not
realize that leiningen by default automatically does a clean before
building a jar (???)
2021-12-22 18:30:50 -05:00
Gered a44bf306da initial commit 2021-12-21 18:42:05 -05:00