mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-31 06:34:17 -04:00
Fix (#13336)
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user