fix: harden WeKnora proxy and configurable search
This commit is contained in:
1 parent
b527bc94bb
commit
11e54550ed
10 files changed
+721
-72
No files matched your search
@@ -1153,6 +1153,19 @@ Both the `view_image` tool and `ViewImageMiddleware` are registered whenever `vi
|
||||
|
||||
## Documentation
|
||||
|
||||
### WeKnora iframe behind `/deerflow`
|
||||
|
||||
The LLMWiki WeKnora detail iframe is publicly served through the Gateway at
|
||||
`/deerflow`, independently of the frontend deployment prefix (for example
|
||||
`/magentweb`). Register `llmwiki.proxy_router` with the `/deerflow` prefix
|
||||
before its unprefixed fallback router, otherwise the unprefixed catch-all
|
||||
captures `/deerflow/*`. HTML root-relative assets, API strings, and Vite's
|
||||
`__vite__mapDeps` table are rewritten for `/deerflow`; generic JavaScript
|
||||
regular-expression literals must not be rewritten. Auth and CSRF bypass only
|
||||
applies when the short-lived signed WeKnora embed cookie is valid. Keep static
|
||||
path recognition in `app/gateway/weknora_embed.py` synchronized with the
|
||||
proxy's static fallback paths in `app/gateway/routers/llmwiki.py`.
|
||||
|
||||
### Position-roundtable role directory
|
||||
|
||||
`position_roles` is the global shared directory for position-roundtable work
|
||||
|
||||
Reference in new issue
Block a user