New debug mode:

Debug mode is no more triggered by the NODE_ENV value, but by testing
the existance of a file in the plugin data directory.
This commit is contained in:
John Livingston
2023-04-13 15:41:46 +02:00
committed by John Livingston
parent f8b83defb5
commit b4dabfeeb9
11 changed files with 82 additions and 5 deletions

View File

@ -1,4 +1,4 @@
type nextValue = 'backend' | 'webchat-video' | 'prosody'
type nextValue = 'backend' | 'debug' | 'webchat-video' | 'prosody'
interface MessageWithLevel {
level: 'info' | 'warning' | 'error'