mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 11:50:06 +00:00
Remove custom IP fetching (#10954)
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
This commit is contained in:
parent
bc53369bab
commit
90f73d1d24
51 changed files with 32 additions and 74 deletions
|
|
@ -28,8 +28,7 @@ $STD npm ci
|
|||
$STD npm run install:components
|
||||
$STD npm run build
|
||||
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 "51s/localhost/${LOCAL_IP}/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
|
||||
$STD bash -c "./install-onlyoffice.sh --accept-license"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue