mirror of
https://github.com/thiagoralves/OpenPLC_v3.git
synced 2025-12-11 13:53:21 +08:00
Flask/Werkzeug's ssl_context parameter expects string paths, not pathlib.Path objects. On Windows/MSYS2, passing Path objects causes 'Resource temporarily unavailable' error. Converting to strings maintains Linux compatibility while fixing Windows support. Fixes the error reported by user where context showed PosixPath objects instead of strings, causing Flask to fail on Windows/MSYS2. Co-Authored-By: Thiago Alves <thiagoralves@gmail.com>