From 0c25fde6c648289b26152eef83885d9a5991d3f6 Mon Sep 17 00:00:00 2001 From: Homer <19776252+homerr@users.noreply.github.com> Date: Wed, 14 Nov 2018 16:46:43 +0000 Subject: [PATCH] removed / removing from app key and changed associated sed delimiter --- root/etc/cont-init.d/50-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/cont-init.d/50-config b/root/etc/cont-init.d/50-config index a265435..b5085c0 100644 --- a/root/etc/cont-init.d/50-config +++ b/root/etc/cont-init.d/50-config @@ -27,7 +27,7 @@ done if [ ! -f "/config/BOOKSTACK_APP_KEY.txt" ]; then echo "Generating BookStack app key for first run" - key=$(php /var/www/html/artisan key:generate --show | tr -d '//' ) + key=$(php /var/www/html/artisan key:generate --show) echo $key > /config/BOOKSTACK_APP_KEY.txt echo "App Key set to $key you can modify the file to update /config/BOOKSTACK_APP_KEY.txt" elif [ -f "/config/BOOKSTACK_APP_KEY.txt" ];