mirror of
https://github.com/thiagoralves/OpenPLC_v3.git
synced 2025-12-09 12:16:55 +08:00
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:
@@ -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]"
|
||||
|
||||
Reference in New Issue
Block a user