[WIP] A (somewhat barebones) atproto app for creating custom sites without hosting!

upload: chore: cargo fmt

vielle.dev 1df8217b 519b6262

verified
Changed files
+12 -4
upload
+8 -2
upload/src/main.rs
··· 275 275 ) 276 276 .await?; 277 277 278 - println!("Site is now updated. Live at {}", utils::site_handle(config.user)); 278 + println!( 279 + "Site is now updated. Live at {}", 280 + utils::site_handle(config.user) 281 + ); 279 282 } else { 280 283 let oauth = oauth::client::OAuthClient::with_memory_store(); 281 284 let session = oauth ··· 311 314 ) 312 315 .await?; 313 316 314 - println!("Site is now updated. Live at {}", utils::site_handle(config.user)); 317 + println!( 318 + "Site is now updated. Live at {}", 319 + utils::site_handle(config.user) 320 + ); 315 321 }; 316 322 317 323 Ok(())
+4 -2
upload/src/utils.rs
··· 70 70 let method = user[1]; 71 71 let did = user[2]; 72 72 format!("https://{did}.did-{method}.atcities.dev/") 73 - } else { format!("https://{user}.atcities.dev/") } 74 - } 73 + } else { 74 + format!("https://{user}.atcities.dev/") 75 + } 76 + }