From 9272bfbc5b6b5ed765a39dc02099dd8d0e0494f0 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Mon, 23 Jan 2023 13:56:05 -0500 Subject: [PATCH] Always set the session dir directory in run script --- run.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index 44ed0b6..6ca2d5d 100755 --- a/run.sh +++ b/run.sh @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. EXAMPLES=${EXAMPLES:-../examples} -echo Starting api server serving ${EXAMPLES} -nix run .\#kitchenDebug -- --verbose debug serve --dir ${EXAMPLES} --tls --cert ~/tls-certs/localhost+2.pem --cert_key ~/tls-certs/localhost+2-key.pem $@ +echo Starting server serving ${EXAMPLES} +mkdir .session_store +nix run .\#kitchenDebug -- --verbose debug serve --session_dir .session_store --dir ${EXAMPLES} --tls --cert ~/tls-certs/localhost+2.pem --cert_key ~/tls-certs/localhost+2-key.pem $@ # This is ghetto but I'm doing it anyway