pub fn router<DB: DatabaseRef<Error = ErrReport> + DatabaseCommit + Sync + Send + Clone + 'static>( app_state: AppState<DB>, ) -> Router<()>