diff options
Diffstat (limited to 'src/webserver_main.cpp')
-rw-r--r-- | src/webserver_main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/webserver_main.cpp b/src/webserver_main.cpp index c01accd2e9..bf98aae73b 100644 --- a/src/webserver_main.cpp +++ b/src/webserver_main.cpp @@ -6,6 +6,7 @@ #include <cors_preflight.hpp> #include <dbus_monitor.hpp> #include <dbus_singleton.hpp> +#include <google/google_service_root.hpp> #include <hostname_monitor.hpp> #include <ibm/management_console_rest.hpp> #include <image_upload.hpp> @@ -108,6 +109,10 @@ int main(int /*argc*/, char** /*argv*/) crow::ibm_mc_lock::Lock::getInstance(); #endif +#ifdef BMCWEB_ENABLE_GOOGLE_API + crow::google_api::requestRoutes(app); +#endif + if (bmcwebInsecureDisableXssPrevention) { cors_preflight::requestRoutes(app); |