Fix broken images on webserver

Bumped Flask version from 2.1 to 2.3.3 and werkzeug to 2.3.7. This apparently fixes the broken images on the webserver
This commit is contained in:
Thiago Alves
2023-11-27 15:40:44 -05:00
committed by GitHub
parent b6f6fe3bd6
commit a283d0dbac

View File

@@ -68,7 +68,7 @@ function install_wiringpi {
function install_py_deps {
python3 -m venv "$VENV_DIR"
"$VENV_DIR/bin/python3" -m pip install flask==2.1 werkzeug==2.1 flask-login==0.6.2 pyserial pymodbus==2.5.3
"$VENV_DIR/bin/python3" -m pip install flask==2.3.3 werkzeug==2.3.7 flask-login==0.6.2 pyserial pymodbus==2.5.3
}
function swap_on {
@@ -238,7 +238,7 @@ if [ "$1" == "win" ]; then
#Setting up venv
python3 -m venv "$VENV_DIR"
"$VENV_DIR/bin/python3" get-pip3.py
"$VENV_DIR/bin/python3" -m pip install flask==2.1 werkzeug==2.1 flask-login==0.6.2 pyserial pymodbus==2.5.3
"$VENV_DIR/bin/python3" -m pip install flask==2.3.3 werkzeug==2.3.7 flask-login==0.6.2 pyserial pymodbus==2.5.3
echo ""
echo "[MATIEC COMPILER]"