mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-27 03:08:41 +02:00
fix: name harmonization of endpoints & ingestion security hardening
This commit is contained in:
@@ -35,7 +35,9 @@ where
|
||||
.add_protected_routes(routes::chat::router())
|
||||
.add_protected_routes(routes::content::router())
|
||||
.add_protected_routes(routes::knowledge::router())
|
||||
.add_protected_routes(routes::ingestion::router())
|
||||
.add_protected_routes(routes::ingestion::router(
|
||||
app_state.config.ingest_max_body_bytes,
|
||||
))
|
||||
.add_protected_routes(routes::scratchpad::router())
|
||||
.with_compression()
|
||||
.build()
|
||||
|
||||
Reference in New Issue
Block a user