This commit is contained in:
Slaviša Arežina
2026-03-27 11:14:06 +01:00
committed by GitHub
parent 1fb8e10c42
commit 9a0ab814af
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ function update_script() {
cd /opt/revealjs cd /opt/revealjs
$STD npm install $STD npm install
cp -f /opt/index.html /opt/revealjs cp -f /opt/index.html /opt/revealjs
sed -i '25s/localhost/0.0.0.0/g' /opt/revealjs/gulpfile.js sed -i 's/"vite"/"vite --host"/g' package.json
rm -f /opt/index.html rm -f /opt/index.html
msg_ok "Updated RevealJS" msg_ok "Updated RevealJS"

View File

@@ -19,7 +19,7 @@ fetch_and_deploy_gh_release "revealjs" "hakimel/reveal.js" "tarball"
msg_info "Configuring ${APPLICATION}" msg_info "Configuring ${APPLICATION}"
cd /opt/revealjs cd /opt/revealjs
$STD npm install $STD npm install
sed -i '25s/localhost/0.0.0.0/g' /opt/revealjs/gulpfile.js sed -i 's/"vite"/"vite --host"/g' package.json
msg_ok "Setup ${APPLICATION}" msg_ok "Setup ${APPLICATION}"
msg_info "Creating Service" msg_info "Creating Service"