mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-20 02:53:24 -05:00
fixed retroshare_service with embedded webui
This commit is contained in:
parent
2123ad7645
commit
997501a24d
8 changed files with 66 additions and 35 deletions
|
|
@ -48,11 +48,13 @@ static constexpr char *mime_types[3] = {
|
|||
};
|
||||
|
||||
#ifdef WINDOWS_SYS
|
||||
static std::string _base_directory = "data/webui";
|
||||
const std::string RsWebUI::DEFAULT_BASE_DIRECTORY = "data/webui";
|
||||
#else
|
||||
static std::string _base_directory = "/usr/share/retroshare/webui/";
|
||||
const std::string RsWebUI::DEFAULT_BASE_DIRECTORY = "/usr/share/retroshare/webui/";
|
||||
#endif
|
||||
|
||||
static std::string _base_directory = RsWebUI::DEFAULT_BASE_DIRECTORY;
|
||||
|
||||
|
||||
template<int MIME_TYPE_INDEX> class handler
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue