fix: route WeKnora embed through backend prefix
This commit is contained in:
1 parent
6dbaf40f99
commit
54fd0e7316
5 files changed
+81
-17
No files matched your search
@@ -41,6 +41,7 @@ class WeKnoraEmbedContext:
|
||||
|
||||
|
||||
def is_weknora_embed_proxy_path(path: str) -> bool:
|
||||
path = path.removeprefix("/deerflow")
|
||||
return (
|
||||
path == "/platform"
|
||||
or path.startswith("/platform/")
|
||||
|
||||
Reference in new issue
Block a user