Loading src/blogi.cpp +2 −2 Changes for src/blogi.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -141,7 +141,7 @@ static bool isDeployRequestUrl(const std::string &url) { static std::unique_ptr<blogi::PluginApi, blogi::PluginApiDeleter> loadDeployPluginFile(const std::filesystem::path &path) { #ifdef Windows #ifdef _WIN32 HMODULE handle = LoadLibraryA(path.string().c_str()); if (!handle) { std::cerr << "[deploy] failed to load " << path.string() << std::endl; Loading Loading @@ -218,7 +218,7 @@ static bool handleDeployFallback(libhttppp::HttpRequest &curreq, const int tid, if (envDeployDir && envDeployDir[0] != '\0') addDir(std::filesystem::path(envDeployDir)); #ifdef Windows #ifdef _WIN32 addDir(std::filesystem::path("C:/Program Files/blogi/plugins")); #else addDir(std::filesystem::path("/usr/local/lib/blogi/plugins")); Loading Loading
src/blogi.cpp +2 −2 Changes for src/blogi.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -141,7 +141,7 @@ static bool isDeployRequestUrl(const std::string &url) { static std::unique_ptr<blogi::PluginApi, blogi::PluginApiDeleter> loadDeployPluginFile(const std::filesystem::path &path) { #ifdef Windows #ifdef _WIN32 HMODULE handle = LoadLibraryA(path.string().c_str()); if (!handle) { std::cerr << "[deploy] failed to load " << path.string() << std::endl; Loading Loading @@ -218,7 +218,7 @@ static bool handleDeployFallback(libhttppp::HttpRequest &curreq, const int tid, if (envDeployDir && envDeployDir[0] != '\0') addDir(std::filesystem::path(envDeployDir)); #ifdef Windows #ifdef _WIN32 addDir(std::filesystem::path("C:/Program Files/blogi/plugins")); #else addDir(std::filesystem::path("/usr/local/lib/blogi/plugins")); Loading