fix: update environment configuration for debugging and logging, enhance SQLite FTS5 table management, and improve API base URL handling
This commit is contained in:
+10
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user