Rename package
This commit is contained in:
parent
17d0709ed6
commit
a2c678cdba
6 changed files with 117 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
|||
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};
|
||||
use uprs::state::AppState;
|
||||
use upvoters::state::AppState;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
|
|
@ -14,7 +14,7 @@ async fn main() {
|
|||
|
||||
let listener = tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap();
|
||||
tracing::info!("listening on {}", listener.local_addr().unwrap());
|
||||
axum::serve(listener, uprs::app(AppState::new().await))
|
||||
axum::serve(listener, upvoters::app(AppState::new().await))
|
||||
.await
|
||||
.unwrap();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue