summaryrefslogtreecommitdiff
path: root/src/webserver_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webserver_main.cpp')
-rw-r--r--src/webserver_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webserver_main.cpp b/src/webserver_main.cpp
index e2a776a7e4..2f89ad4269 100644
--- a/src/webserver_main.cpp
+++ b/src/webserver_main.cpp
@@ -61,7 +61,7 @@ int main(int argc, char** argv) {
// Static assets need to be initialized before Authorization, because auth
// needs to build the whitelist from the static routes
-#ifdef BMCWEB_ENABLE_PHOSPHOR_WEBUI
+#ifdef BMCWEB_ENABLE_STATIC_HOSTING
crow::webassets::requestRoutes(app);
#endif