fix url
This commit is contained in:
parent
a81f3cce0d
commit
91ba7b8cb6
@ -44,6 +44,8 @@ $STD git checkout $RELEASE
|
|||||||
$STD npm ci
|
$STD npm ci
|
||||||
$STD npm run install:components
|
$STD npm run install:components
|
||||||
cp config/config.example.js config/config.js
|
cp config/config.example.js config/config.js
|
||||||
|
IP=$(hostname -I | awk '{print $1}')
|
||||||
|
sed -i "51s/localhost/${IP}/g" /opt/cryptpad/config/config.js
|
||||||
sed -i "80s#//httpAddress: 'localhost'#httpAddress: '0.0.0.0'#g" /opt/cryptpad/config/config.js
|
sed -i "80s#//httpAddress: 'localhost'#httpAddress: '0.0.0.0'#g" /opt/cryptpad/config/config.js
|
||||||
if [[ "$onlyoffice" =~ ^[Yy]$ ]]; then
|
if [[ "$onlyoffice" =~ ^[Yy]$ ]]; then
|
||||||
$STD bash -c "./install-onlyoffice.sh --accept-license"
|
$STD bash -c "./install-onlyoffice.sh --accept-license"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user