Remove photo alias
This commit is contained in:
@@ -6,16 +6,15 @@
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
int main()
|
||||
{
|
||||
setvbuf(stdout, nullptr, _IONBF, 0);
|
||||
(void)RequestLogger::classTypeName();
|
||||
|
||||
const auto configPath = argc > 1 ? argv[1] : "config.json";
|
||||
Json::Value requestLoggerConfig;
|
||||
requestLoggerConfig["include_query"] = true;
|
||||
|
||||
drogon::app().loadConfigFile(configPath);
|
||||
drogon::app().loadConfigFile("config.json");
|
||||
drogon::app().addPlugin("RequestLogger", {}, requestLoggerConfig);
|
||||
visione::cors::configure();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user