fix: update environment configuration for debugging and logging, enhance SQLite FTS5 table management, and improve API base URL handling

This commit is contained in:
wizardchen
2026-04-11 05:48:53 +08:00
committed by lyingbug
parent 8a4d58726e
commit 9a2b54536d
35 changed files with 1486 additions and 341 deletions
+10 -1
View File
@@ -2,9 +2,18 @@
# 复制此文件为 .env.lite 并按需修改
# cp .env.lite.example .env.lite
GIN_MODE=release
GIN_MODE=debug
# 日志级别,可选值:debug, info, warn, error, fatal
LOG_LEVEL=debug
# 可选:日志文件绝对路径;未配置时,macOS .app 默认写入
# ~/Library/Logs/WeKnora Lite/WeKnora Lite.log
# LOG_PATH=/absolute/path/to/weknora-lite.log
# === 数据库 ===
# macOS .app 中相对路径会自动重定向到
# ~/Library/Application Support/WeKnora Lite/data/
DB_DRIVER=sqlite
DB_PATH=./data/weknora.db