File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ pub fn app_config(conf_data: AppSysConfig) -> impl FnOnce(&mut ServiceConfig) {
118118}
119119
120120#[ deprecated]
121- pub fn app_without_no_auth_console_config ( config : & mut web :: ServiceConfig ) {
121+ pub fn app_without_no_auth_console_config ( config : & mut ServiceConfig ) {
122122 config
123123 . service ( web:: resource ( "/" ) . route ( web:: get ( ) . to ( disable_no_auth_console_index) ) )
124124 . service ( web:: resource ( "/nacos" ) . route ( web:: get ( ) . to ( disable_no_auth_console_index) ) )
@@ -132,7 +132,7 @@ pub fn app_without_no_auth_console_config(config: &mut web::ServiceConfig) {
132132 raft_config ( config) ;
133133}
134134
135- pub fn nacos_console_api_config ( config : & mut web :: ServiceConfig ) {
135+ pub fn nacos_console_api_config ( config : & mut ServiceConfig ) {
136136 config. service (
137137 web:: scope ( "/nacos/v1/console" ) . service (
138138 web:: resource ( "/namespaces" )
@@ -145,14 +145,14 @@ pub fn nacos_console_api_config(config: &mut web::ServiceConfig) {
145145}
146146
147147/// 独立控制台服务
148- pub fn console_config ( config : & mut web :: ServiceConfig ) {
148+ pub fn console_config ( config : & mut ServiceConfig ) {
149149 //console_api_config(config);
150150 console_api_config_v2 ( config) ;
151151 console_api_config_v1 ( config) ;
152152 console_page_config ( config) ;
153153}
154154
155- pub fn console_page_config ( config : & mut web :: ServiceConfig ) {
155+ pub fn console_page_config ( config : & mut ServiceConfig ) {
156156 config
157157 . service ( web:: resource ( "/" ) . route ( web:: get ( ) . to ( index) ) )
158158 . service ( icon)
You can’t perform that action at this time.
0 commit comments