Commit Graph

4 Commits

Author SHA1 Message Date
Sergey Krashevich 8d382afa0f Add log file handling and viewing capabilities
This commit introduces the ability to handle log files through the API and
provides a new log viewing page. The API now supports GET and DELETE methods
for log file operations, allowing retrieval and deletion of log contents.
A new log.html page has been added for viewing logs in the browser, with
automatic refresh every 5 seconds and styling based on log levels.

The app.go file has been updated to include a GetLogFilepath function that
retrieves or generates the log file path. The NewLogger function now accepts
a file parameter to enable file logging. The main.js file has been updated
to include a link to the new log.html page.

This enhancement improves the observability and management of the application
by providing real-time access to logs and the ability to clear them directly
from the web interface.
2023-11-26 23:21:57 +03:00
Alexey Khit bd79b24db3 Add "add" html page 2023-03-19 17:17:05 +03:00
Alexey Khit efddefa123 Add web config editor #153 2023-01-14 13:47:34 +03:00
Alexey Khit c0c96cfcdb Adds support HomeKit cameras! 2022-09-01 16:11:34 +03:00