mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-26 22:35:42 +02:00
pelican-panel: set APP_URL to container IP (#16488)
This commit is contained in:
committed by
GitHub
parent
b2ec867104
commit
ca1f0181b2
@@ -60,6 +60,7 @@ function update_script() {
|
||||
|
||||
msg_info "Updating Pelican Panel"
|
||||
cp -a /opt/backup/.env /opt/pelican-panel/
|
||||
grep -q "^APP_URL=http://panel.test$" /opt/pelican-panel/.env && sed -i "s|^APP_URL=.*|APP_URL=http://${LOCAL_IP}|" /opt/pelican-panel/.env
|
||||
$SQLITE_INSTALL && mv /opt/backup/*.sqlite /opt/pelican-panel/database/
|
||||
cp -a /opt/backup/storage/app/public /opt/pelican-panel/storage/app/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user