mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-25 04:29:51 +01:00
白名单以前只认设备自报的地址,认到就直接放行,凭证都不看。现在改成 照样校验凭证,白名单只决定凭证有效期长短。另外做了三件配套:凭证 校验支持传入有效期,不传就沿用原来的默认时长;改配置时把认证属性 一并刷新,之前改了不重启等于没改;连接日志里把 authorization 抹掉, URL 查询串里的凭证也直接忽略,防止凭证落到访问日志里。 |
||
|---|---|---|
| .. | ||
| config | ||
| core | ||
| models | ||
| music | ||
| performance_tester | ||
| plugins_func | ||
| tests | ||
| agent-base-prompt.txt | ||
| app.py | ||
| config.yaml | ||
| config_from_api.yaml | ||
| docker-compose.yml | ||
| docker-compose_all.yml | ||
| mcp_server_settings.json | ||
| performance_tester.py | ||
| pyproject.toml | ||
| requirements.txt | ||