Skip to content

Commit

Permalink
Fix broken images on webserver
Browse files Browse the repository at this point in the history
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
  • Loading branch information
thiagoralves authored Nov 27, 2023
1 parent b6f6fe3 commit a283d0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions background_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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]"
Expand Down

0 comments on commit a283d0d

Please sign in to comment.