Skip to content

Commit

Permalink
use actual home path, not default home path
Browse files Browse the repository at this point in the history
  • Loading branch information
laduke committed Mar 5, 2024
1 parent 1fb987d commit 5820e82
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions controller/EmbeddedNetworkController.cpp
Expand Up @@ -877,9 +877,8 @@ void EmbeddedNetworkController::configureHTTPControlPlane(
std::string memberPath = "/controller/network/([0-9a-fA-F]{16})/member/([0-9a-fA-F]{10})";
std::string appUiPath = "/app";

std::string homeDir(OSUtils::platformDefaultHomePath());
static char appUiDir[16384];
sprintf(appUiDir,"%s/%s",homeDir.c_str(),appUiPath.c_str());
sprintf(appUiDir,"%s/%s",_ztPath.c_str(),appUiPath.c_str());


//static file server for controller-ui
Expand Down

0 comments on commit 5820e82

Please sign in to comment.