mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
Turn off the test middleware.
This commit is contained in:
parent
19fa2b5e67
commit
758c94c8af
@ -23,7 +23,7 @@ void RDNApplication::index(Request *request) {
|
||||
}
|
||||
|
||||
void RDNApplication::session_middleware_func(Request *request) {
|
||||
std::cout << "test: session_middleware_func called" << std::endl;
|
||||
//std::cout << "test: session_middleware_func called" << std::endl;
|
||||
}
|
||||
|
||||
void RDNApplication::setup_routes() {
|
||||
@ -37,7 +37,7 @@ void RDNApplication::setup_routes() {
|
||||
void RDNApplication::setup_middleware() {
|
||||
Application::setup_middleware();
|
||||
|
||||
middlewares.push_back(RDNApplication::session_middleware_func);
|
||||
//middlewares.push_back(RDNApplication::session_middleware_func);
|
||||
}
|
||||
|
||||
RDNApplication::RDNApplication() : Application() {
|
||||
|
Loading…
Reference in New Issue
Block a user