updated default directory value

This commit is contained in:
csoler 2019-11-10 17:56:04 +01:00
parent 6603dbd913
commit 0103a741d6
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -83,7 +83,11 @@ template<int MIME_TYPE_INDEX> class handler
static std::string _base_directory ;
};
template<int MIME_TYPE_INDEX> std::string handler<MIME_TYPE_INDEX>::_base_directory = "/home/csoler/Desktop/Code/retroshare/RSNewWebUI/webui/";
#ifdef WINDOWS_SYS
template<int MIME_TYPE_INDEX> std::string handler<MIME_TYPE_INDEX>::_base_directory = "data/webui";
#else
template<int MIME_TYPE_INDEX> std::string handler<MIME_TYPE_INDEX>::_base_directory = "/usr/share/retroshare/webui/";
#endif
static void service_ready_handler( restbed::Service& )
{