mirror of
https://github.com/mii443/rs-easy-p2p.git
synced 2025-08-22 16:15:38 +00:00
remove ambiguous characters
This commit is contained in:
@ -43,7 +43,7 @@ fn app() -> Router {
|
||||
}
|
||||
|
||||
fn generate_connection_code() -> String {
|
||||
const CHARSET: &[u8] = b"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
|
||||
const CHARSET: &[u8] = b"ABCDEFGHJKLMNPRTUVWXYZ234678";
|
||||
const CODE_LEN: usize = 6;
|
||||
let mut rng = rand::thread_rng();
|
||||
|
||||
|
Reference in New Issue
Block a user