Do something on server start.

9 views
Skip to first unread message

seriaon

unread,
Jan 27, 2018, 4:07:56 PM1/27/18
to Liberator
Is there a way to execute code on server start before the routes are accessable?

Philipp Meier

unread,
Jan 29, 2018, 3:55:27 AM1/29/18
to Liberator
Am Samstag, 27. Januar 2018 22:07:56 UTC+1 schrieb seriaon:
Is there a way to execute code on server start before the routes are accessable?

This is not directly related to liberator. You can execute any code in clojure as a toplevel form before you invoke the server start function.

-billy. 
Reply all
Reply to author
Forward
0 new messages