mirror of
https://github.com/perstarkse/minne.git
synced 2026-03-24 10:21:46 +01:00
user restricted to own objects
This commit is contained in:
@@ -69,6 +69,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
)
|
||||
.await?;
|
||||
|
||||
app_state.surreal_db_client.build_indexes().await?;
|
||||
|
||||
// Create Axum router
|
||||
let app = Router::new()
|
||||
.nest("/api/v1", api_routes_v1(&app_state))
|
||||
|
||||
Reference in New Issue
Block a user