fix sign in url

This commit is contained in:
Bryan Stitt 2022-11-28 16:37:15 +00:00
parent b18880c5e2
commit 9d7d6c2b22

@ -87,11 +87,11 @@ pub async fn user_login_get(
// TODO: get most of these from the app config // TODO: get most of these from the app config
let message = Message { let message = Message {
// TODO: should domain be llamanodes, or llamarpc, or the subdomain of llamarpc? // TODO: get this from app config
domain: "staging.llamanodes.com".parse().unwrap(), domain: "llamanodes.com".parse().unwrap(),
address: user_address.to_fixed_bytes(), address: user_address.to_fixed_bytes(),
statement: Some("🦙🦙🦙🦙🦙".to_string()), statement: Some("🦙🦙🦙🦙🦙".to_string()),
uri: "https://staging.llamanodes.com/".parse().unwrap(), uri: "https://llamanodes.com/".parse().unwrap(),
version: siwe::Version::V1, version: siwe::Version::V1,
chain_id: 1, chain_id: 1,
expiration_time: Some(expiration_time.into()), expiration_time: Some(expiration_time.into()),