diff --git a/modules/web/http/web_root.cpp b/modules/web/http/web_root.cpp index 0429ece49..5cc8df9db 100644 --- a/modules/web/http/web_root.cpp +++ b/modules/web/http/web_root.cpp @@ -205,7 +205,7 @@ void WebRoot::_bind_methods() { ClassDB::bind_method(D_METHOD("get_middlewares"), &WebRoot::get_middlewares); ClassDB::bind_method(D_METHOD("set_middlewares", "data"), &WebRoot::set_middlewares); - ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "middlewares", PROPERTY_HINT_NONE, "17/17:WebServerMiddleware ", PROPERTY_USAGE_DEFAULT, "WebServerMiddleware "), "set_middlewares", "get_middlewares"); + ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "middlewares", PROPERTY_HINT_NONE, "17/17:WebServerMiddleware", PROPERTY_USAGE_DEFAULT, "WebServerMiddleware"), "set_middlewares", "get_middlewares"); ClassDB::bind_method(D_METHOD("process_middlewares", "request"), &WebRoot::process_middlewares); ClassDB::bind_method(D_METHOD("try_send_wwwroot_file", "request"), &WebRoot::try_send_wwwroot_file);