feat: add environment configuration for database and authentication, update router setup
This commit is contained in:
@@ -3,4 +3,5 @@ use sea_orm::DatabaseConnection;
|
||||
#[derive(Clone)]
|
||||
pub struct AppState {
|
||||
pub conn: DatabaseConnection,
|
||||
pub base_url: String,
|
||||
}
|
||||
|
Reference in New Issue
Block a user