From daa6f103c5fc5c473721a7b2bda16363ae39d391 Mon Sep 17 00:00:00 2001 From: Grant Shoshin Shangreaux Date: Tue, 14 Mar 2023 11:43:16 -0500 Subject: Add: configuration from file for datastore & lzb server This defaults to looking for a file called config.lisp within the dnd system's directory. If you copy the config.lisp.example included in this commit out to simply config.lisp, then you should be able to run the (start) defun to get things running with "sane" defaults. It should create a datastore directory within the same system directory, which is also ignored by git. --- src/flash.lisp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/flash.lisp') diff --git a/src/flash.lisp b/src/flash.lisp index b655fa0..f737d86 100644 --- a/src/flash.lisp +++ b/src/flash.lisp @@ -43,8 +43,7 @@ expires." ;; set the cookie, updating its expiration if necessary (lzb:set-response-cookie +flash-cookie-name+ key - ;; TODO: generalize domain - :path "/" :domain "localhost" + :path "/" :domain (host *config*) :expires (+ +flash-value-lifetime+ now)))) -- cgit v1.2.3