1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/duniter_ynh.git synced 2024-09-03 18:26:35 +02:00

Cesium is no more embedded

This commit is contained in:
Cédric Moreau 2017-06-13 18:11:07 +02:00 committed by GitHub
parent 3e19e3303f
commit 706154ea6c

View file

@ -12,9 +12,10 @@ sudo dpkg -i $deb > /dev/null
sudo rm -f $deb sudo rm -f $deb
# Patch Cesium to access local instance # Patch Cesium to access local instance
cesium_conf="/opt/duniter/sources/node_modules/duniter-ui/public/cesium/config.js" # Note by cgeek: Cesium has been removed from Duniter since v1.3
sudo sed -i "s@\"host\".*@\"host\": \"$domain\",@" $cesium_conf # cesium_conf="/opt/duniter/sources/node_modules/duniter-ui/public/cesium/config.js"
sudo sed -i "s@\"port\".*@\"port\": \"443\"@" $cesium_conf # sudo sed -i "s@\"host\".*@\"host\": \"$domain\",@" $cesium_conf
# sudo sed -i "s@\"port\".*@\"port\": \"443\"@" $cesium_conf
} }
CONFIG_SSOWAT () { CONFIG_SSOWAT () {