remove ambiguous characters

This commit is contained in:
mii443
2024-08-31 21:14:15 +09:00
parent 753899af32
commit e5e8d9ab73

View File

@@ -43,7 +43,7 @@ fn app() -> Router {
} }
fn generate_connection_code() -> String { fn generate_connection_code() -> String {
const CHARSET: &[u8] = b"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; const CHARSET: &[u8] = b"ABCDEFGHJKLMNPRTUVWXYZ234678";
const CODE_LEN: usize = 6; const CODE_LEN: usize = 6;
let mut rng = rand::thread_rng(); let mut rng = rand::thread_rng();