diff --git a/backend/python/backend.py b/backend/python/backend.py index 8754e49..dfbb03e 100644 --- a/backend/python/backend.py +++ b/backend/python/backend.py @@ -59,7 +59,7 @@ def poweroff(): @app.route('/update',methods = ['GET']) def update(): - os.popen("cd /home/pi/AviationAssistantV2 && git pull && sudo rm -r /var/www/html/* && sudo cp -r simplepwa/* /var/www/html && sudo systemctl restart backend.service") + os.popen("cd /home/pi/AviationAssistantV2 && git pull && sudo rm -r /var/www/html/* && sudo cp -r /home/pi/AviationAssistantV2/simplepwa/* /var/www/html && sudo systemctl restart backend.service") return "OK" @app.after_request diff --git a/simplepwa/index.html b/simplepwa/index.html index ca36163..75f18ee 100644 --- a/simplepwa/index.html +++ b/simplepwa/index.html @@ -6,6 +6,7 @@ Aviation Assistant V2 +