Commit ad56bb6 1 parent 9f4dd24 commit ad56bb6 Copy full SHA for ad56bb6
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ pub mod config {
17
17
#[ command( version, about, long_about = None ) ]
18
18
pub struct Config {
19
19
#[ arg( short, long, env, default_value = "127.0.0.1:3000" ) ]
20
- pub bind_addr : String ,
20
+ pub bind_address : String ,
21
21
#[ arg( env) ]
22
22
pub maskinporten_client_id : String ,
23
23
#[ arg( env) ]
@@ -72,7 +72,7 @@ async fn main() {
72
72
. route ( "/token" , post ( handlers:: token) ) . with_state ( state. clone ( ) )
73
73
. route ( "/introspection" , post ( handlers:: introspection) . with_state ( state. clone ( ) ) ) ;
74
74
75
- let listener = tokio:: net:: TcpListener :: bind ( cfg. bind_addr ) . await . unwrap ( ) ;
75
+ let listener = tokio:: net:: TcpListener :: bind ( cfg. bind_address ) . await . unwrap ( ) ;
76
76
77
77
info ! ( "Serving on {:?}" , listener. local_addr( ) . unwrap( ) ) ;
78
78
You can’t perform that action at this time.
0 commit comments