summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2018-08-10 23:49:54 +0300
committerJames Feist <james.feist@linux.intel.com>2018-08-15 01:30:19 +0300
commitd529ee2e2f3ed0e28b95c4b38458bb9828d56994 (patch)
treebb6195759cf003e0f66aa9f5d68d0bb39ce6d765 /src
parentb9845d9e0155564a7b1f4a52df2c0d99dbd0d4ec (diff)
downloadbmcweb-d529ee2e2f3ed0e28b95c4b38458bb9828d56994.tar.xz
Change _PHOSPHOR_WEBUI to _STATIC_HOSTING
Changing this config option to better represent what it does, which is to host the static files from /usr/share/www/ Change-Id: Iaf785666f59f937567b6d0319c884c8ed29d2844 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'src')
-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