File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ use std::sync::{Arc, Mutex};
1010
1111macro_rules! mongodb_uri {
1212 ( ) => {
13- "mongodb://localhost/ "
13+ "mongodb://localhost"
1414 } ;
1515 ( $user: literal ) => {
1616 concat!( "mongodb://" , $user, "@localhost/" )
@@ -19,24 +19,24 @@ macro_rules! mongodb_uri {
1919
2020macro_rules! mongodb_uri_single {
2121 ( ) => {
22- concat!( mongodb_uri!( ) , "?authMechanism=MONGODB-OIDC" )
22+ concat!( mongodb_uri!( ) , "/ ?authMechanism=MONGODB-OIDC" )
2323 } ;
2424 ( $user: literal ) => {
25- concat!( mongodb_uri!( $user) , "?authMechanism=MONGODB-OIDC" )
25+ concat!( mongodb_uri!( $user) , "/ ?authMechanism=MONGODB-OIDC" )
2626 } ;
2727}
2828
2929macro_rules! mongodb_uri_multi {
3030 ( ) => {
3131 concat!(
3232 mongodb_uri!( ) ,
33- "?authMechanism=MONGODB-OIDC&directConnection=true"
33+ ":27018/ ?authMechanism=MONGODB-OIDC&directConnection=true"
3434 )
3535 } ;
3636 ( $user: literal ) => {
3737 concat!(
3838 mongodb_uri!( $user) ,
39- "?authMechanism=MONGODB-OIDC&directConnection=true"
39+ ":27018/ ?authMechanism=MONGODB-OIDC&directConnection=true"
4040 )
4141 } ;
4242}
You can’t perform that action at this time.
0 commit comments