Framework update top allow insecure RESTAPI for ALB support.

This commit is contained in:
stephb9959
2022-03-22 23:16:59 -07:00
parent 6594edd8c6
commit 3754da24a1

View File

@@ -30,6 +30,7 @@ namespace OpenWifi {
Poco::Net::HTTPRequestHandler * RESTAPI_ExtRouter(const char *Path, RESTAPIHandler::BindingMap &Bindings,
Poco::Logger & L, RESTAPI_GenericServer & S, uint64_t TransactionId) {
std::cout << "External call" << std::endl;
return RESTAPI_Router<
RESTAPI_oauth2_handler,
RESTAPI_user_handler,
@@ -58,6 +59,8 @@ namespace OpenWifi {
Poco::Net::HTTPRequestHandler * RESTAPI_IntRouter(const char *Path, RESTAPIHandler::BindingMap &Bindings,
Poco::Logger & L, RESTAPI_GenericServer & S, uint64_t TransactionId) {
std::cout << "Internal call" << std::endl;
return RESTAPI_Router_I<
RESTAPI_oauth2_handler,
RESTAPI_user_handler,