mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-04 21:22:14 +02:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0c54200bd2 | |||
| 819ecc1105 | |||
| 7e15a4bf26 |
@@ -489,6 +489,14 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
</details>
|
||||
|
||||
## 2026-07-04
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- fix(endurain): update frontend dist path after upstream restructure [@joaovitoriasilva](https://github.com/joaovitoriasilva) ([#15590](https://github.com/community-scripts/ProxmoxVE/pull/15590))
|
||||
|
||||
## 2026-07-03
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
+3
-3
@@ -36,7 +36,7 @@ function update_script() {
|
||||
|
||||
msg_info "Creating Backup"
|
||||
cp /opt/endurain/.env /opt/endurain.env
|
||||
cp /opt/endurain/frontend/app/dist/env.js /opt/endurain.env.js
|
||||
cp /opt/endurain/frontend/dist/env.js /opt/endurain.env.js
|
||||
msg_ok "Created Backup"
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_codeberg_release "endurain" "endurain-project/endurain" "tarball" "latest" "/opt/endurain"
|
||||
@@ -52,10 +52,10 @@ function update_script() {
|
||||
msg_ok "Prepared Update"
|
||||
|
||||
msg_info "Updating Frontend"
|
||||
cd /opt/endurain/frontend/app
|
||||
cd /opt/endurain/frontend
|
||||
$STD npm ci
|
||||
$STD npm run build
|
||||
cp /opt/endurain.env.js /opt/endurain/frontend/app/dist/env.js
|
||||
cp /opt/endurain.env.js /opt/endurain/frontend/dist/env.js
|
||||
rm /opt/endurain.env.js
|
||||
msg_ok "Updated Frontend"
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ ADMIN_PASS="$(openssl rand -base64 18 | cut -c1-13)"
|
||||
echo "enable_registration_without_verification: true" >>/etc/matrix-synapse/homeserver.yaml
|
||||
echo "registration_shared_secret: ${SECRET}" >>/etc/matrix-synapse/homeserver.yaml
|
||||
|
||||
cat <<EOF >/etc/matrix-synapse/homeserver.yaml
|
||||
cat <<EOF >>/etc/matrix-synapse/homeserver.yaml
|
||||
|
||||
# MatrixRTC / Element Call configuration
|
||||
experimental_features:
|
||||
|
||||
@@ -55,7 +55,7 @@ DB_HOST=localhost
|
||||
DATABASE_URL=postgresql+psycopg://${PG_DB_USER}:${PG_DB_PASS}@localhost:5432/${PG_DB_NAME}
|
||||
|
||||
BACKEND_DIR="/opt/endurain/backend/app"
|
||||
FRONTEND_DIR="/opt/endurain/frontend/app/dist"
|
||||
FRONTEND_DIR="/opt/endurain/frontend/dist"
|
||||
DATA_DIR="/opt/endurain_data/data"
|
||||
LOGS_DIR="/opt/endurain_data/logs"
|
||||
|
||||
@@ -69,10 +69,10 @@ EOF
|
||||
msg_ok "Setup Endurain"
|
||||
|
||||
msg_info "Building Frontend"
|
||||
cd /opt/endurain/frontend/app
|
||||
cd /opt/endurain/frontend
|
||||
$STD npm ci --prefer-offline
|
||||
$STD npm run build
|
||||
cat <<EOF >/opt/endurain/frontend/app/dist/env.js
|
||||
cat <<EOF >/opt/endurain/frontend/dist/env.js
|
||||
window.env = {
|
||||
ENDURAIN_HOST: "${ENDURAIN_HOST}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user