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:
parent
3e19e3303f
commit
706154ea6c
1 changed files with 4 additions and 3 deletions
|
@ -12,9 +12,10 @@ sudo dpkg -i $deb > /dev/null
|
|||
sudo rm -f $deb
|
||||
|
||||
# Patch Cesium to access local instance
|
||||
cesium_conf="/opt/duniter/sources/node_modules/duniter-ui/public/cesium/config.js"
|
||||
sudo sed -i "s@\"host\".*@\"host\": \"$domain\",@" $cesium_conf
|
||||
sudo sed -i "s@\"port\".*@\"port\": \"443\"@" $cesium_conf
|
||||
# Note by cgeek: Cesium has been removed from Duniter since v1.3
|
||||
# cesium_conf="/opt/duniter/sources/node_modules/duniter-ui/public/cesium/config.js"
|
||||
# sudo sed -i "s@\"host\".*@\"host\": \"$domain\",@" $cesium_conf
|
||||
# sudo sed -i "s@\"port\".*@\"port\": \"443\"@" $cesium_conf
|
||||
}
|
||||
|
||||
CONFIG_SSOWAT () {
|
||||
|
|
Loading…
Reference in a new issue