webdrop-bridge/.env.example
claudi a8aa54fa5e Refactor logging configuration to use AppData directory
- Updated config.example.json to set default log_file to null.
- Modified config.py to resolve log file paths relative to the AppData directory.
- Added methods to get default log directory and log file path in AppData.
- Ensured logging behavior is consistent whether a log_file is specified or not.
2026-02-20 07:45:21 +01:00

24 lines
548 B
Text

# WebDrop Bridge Configuration
# Application
APP_NAME=WebDrop Bridge
APP_VERSION=0.5.0
# Web App
WEBAPP_URL=file:///./webapp/index.html
# WEBAPP_URL=http://localhost:3000 # For development
# Logging
LOG_LEVEL=DEBUG
# LOG_FILE defaults to AppData/Roaming/webdrop_bridge/logs/webdrop_bridge.log if not set
# LOG_FILE=logs/webdrop_bridge.log
ENABLE_LOGGING=true
# Security - Path Whitelist
ALLOWED_ROOTS=Z:/,C:/Users/Public
ALLOWED_URLS=
# UI
WINDOW_WIDTH=1024
WINDOW_HEIGHT=768
# WINDOW_TITLE= (leave empty to use: "{APP_NAME} v{APP_VERSION}")