mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-10 09:28:06 +00:00
it works again
This commit is contained in:
@@ -4,4 +4,4 @@ set(DWEB_SOURCES
|
||||
add_library(dWeb STATIC ${DWEB_SOURCES})
|
||||
|
||||
target_include_directories(dWeb PUBLIC ".")
|
||||
target_link_libraries(dWeb dCommon)
|
||||
target_link_libraries(dWeb dCommon mongoose)
|
||||
|
@@ -7,6 +7,9 @@
|
||||
#include "GeneralUtils.h"
|
||||
#include "JSONUtils.h"
|
||||
|
||||
namespace Game {
|
||||
Web web;
|
||||
}
|
||||
|
||||
namespace {
|
||||
const char * json_content_type = "application/json";
|
||||
|
@@ -8,7 +8,10 @@
|
||||
#include "json_fwd.hpp"
|
||||
#include "eHTTPStatusCode.h"
|
||||
|
||||
|
||||
class Web;
|
||||
namespace Game {
|
||||
extern Web web;
|
||||
}
|
||||
|
||||
enum class eHTTPMethod;
|
||||
|
||||
@@ -49,8 +52,4 @@ private:
|
||||
mg_mgr mgr;
|
||||
};
|
||||
|
||||
namespace Game {
|
||||
Web web;
|
||||
}
|
||||
|
||||
#endif // !__WEB_H__
|
||||
|
Reference in New Issue
Block a user