mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-24 18:25:01 +08:00
增加是否开启导出功能的选项
This commit is contained in:
5
start.sh
5
start.sh
@@ -80,6 +80,11 @@ if [ ! -z $BASEURL ]; then
|
||||
sed -i "s#baseurl=.*#baseurl=$BASEURL#g" conf/app.conf
|
||||
fi
|
||||
|
||||
if [ ! -z $ENABLE_EXPORT ]; then
|
||||
sed -i "s#enable_export=.*#baseurl=$ENABLE_EXPORT#g" conf/app.conf
|
||||
fi
|
||||
|
||||
|
||||
sed -i 's/^runmode.*/runmode=prod/g' conf/app.conf
|
||||
|
||||
/mindoc/mindoc_linux_amd64 install
|
||||
|
||||
Reference in New Issue
Block a user