Skip to content

Commit 8551550

Browse files
authored
Merge pull request #15 from linuxserver/fixing-appkey
removed / removing from app key and changed associated sed delimiter
2 parents aaa9876 + 0c25fde commit 8551550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/etc/cont-init.d/50-config

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ done
2727
if [ ! -f "/config/BOOKSTACK_APP_KEY.txt" ];
2828
then
2929
echo "Generating BookStack app key for first run"
30-
key=$(php /var/www/html/artisan key:generate --show | tr -d '//' )
30+
key=$(php /var/www/html/artisan key:generate --show)
3131
echo $key > /config/BOOKSTACK_APP_KEY.txt
3232
echo "App Key set to $key you can modify the file to update /config/BOOKSTACK_APP_KEY.txt"
3333
elif [ -f "/config/BOOKSTACK_APP_KEY.txt" ];

0 commit comments

Comments
 (0)