diff --git a/.dockerignore b/.dockerignore index dd50c2f..b28e804 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,4 @@ /build /config.json /users.json +/*.md diff --git a/README.md b/README.md index b046771..eecc1a2 100644 --- a/README.md +++ b/README.md @@ -63,10 +63,10 @@ Thank you to the contributors | Name | Project Work | Connected Service Work | | :------------------------------------------ | ---------------------------------------------------------- | ---------------------- | -| [Expand](https://github.com/Expand-sys) | `N/A` | Frontend | -| [React](https://github.com/Reactified) | Logo | CC {API, Shops, ATM} | +| [Expand](https://github.com/Expand-sys) | Slight docker changes | Frontend | +| [React](https://github.com/Reactified) | CC API, Logo | CC Shop, CC ATM. | +| [Luke](https://github.com/LukeeeeBennett) | JS API, Docker, Slight Doc edits | `N/A` | | [Doggo](https://github.com/FearlessDoggo21) | Logs loading/adding Optimized, HTTP convention suggestions | `N/A` | -| [Luke](https://github.com/LukeeeeBennett) | Docker, Slight Doc edits | JS API | | [Jolly](https://github.com/STBoyden) | Slight Doc edits | `N/A` | ## Features diff --git a/main.cpp b/main.cpp index 4babcca..9f75f55 100644 --- a/main.cpp +++ b/main.cpp @@ -55,7 +55,7 @@ int main(int argc, char **argv) bank.admin_pass = argv[1]; //Auto Saving - const unsigned long saving_freq = std::stoul(argv[2]); + const unsigned long saving_freq = std::stoul(std::string(argv[2])); if (saving_freq) //if saving frequency is 0 then auto saving is turned off { std::thread([saving_freq]() { @@ -73,7 +73,7 @@ int main(int argc, char **argv) [](const drogon::HttpRequestPtr &req, const drogon::HttpResponsePtr &resp) { resp->addHeader("Access-Control-Allow-Origin", "*"); }); - app().loadConfigFile(config_location).registerController(API).setThreadNum(std::stoul(argv[3])).run(); + app().loadConfigFile(config_location).registerController(API).setThreadNum(std::stoul(std::string(argv[3]))).run(); return 0; } diff --git a/src/bank_f.cpp b/src/bank_f.cpp index 446234e..7909b82 100644 --- a/src/bank_f.cpp +++ b/src/bank_f.cpp @@ -92,4 +92,4 @@ void BankF::GetLog(req_args, const std::string &name) resp->setExpiredTime(0); //cached forever callback(resp); } -} \ No newline at end of file +}