diff --git a/pubky-homeserver/src/config.toml b/pubky-homeserver/src/config.toml index 2012efc..47255d3 100644 --- a/pubky-homeserver/src/config.toml +++ b/pubky-homeserver/src/config.toml @@ -3,7 +3,7 @@ testnet = false # Secret key (in hex) to generate the Homeserver's Keypair secret_key = "0000000000000000000000000000000000000000000000000000000000000000" # Domain to be published in Pkarr records for this server to be accessible by. -domain = "localhost" +domain = "backend.privky.app" # Port for the Homeserver to listen on. port = 6287 # Storage directory Defaults to diff --git a/pubky-homeserver/src/routes/auth.rs b/pubky-homeserver/src/routes/auth.rs index 506f450..845c6da 100644 --- a/pubky-homeserver/src/routes/auth.rs +++ b/pubky-homeserver/src/routes/auth.rs @@ -1,7 +1,7 @@ use axum::{ debug_handler, extract::State, - http::{uri::Scheme, StatusCode, Uri}, + http::{StatusCode, Uri}, response::IntoResponse, }; use axum_extra::{headers::UserAgent, TypedHeader}; @@ -89,7 +89,7 @@ pub async fn signin( State(state): State, user_agent: Option>, cookies: Cookies, - uri: Uri, + _uri: Uri, body: Bytes, ) -> Result { let token = state.verifier.verify(&body)?;