arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.71k stars 4.72k forks source link

fail UFSServe if Webserver is null. #21467

Closed btsimonh closed 1 month ago

btsimonh commented 1 month ago

Description:

Using command UFSServe before Webserver is present caused a crash. This PR checks Webserver, and if not set, fails the command.

Related issue (if applicable): fixes #21465

Checklist:

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass