diff --git a/src/components/ConfigComponent.h b/src/components/ConfigComponent.h index 11d3f08..f48af4a 100644 --- a/src/components/ConfigComponent.h +++ b/src/components/ConfigComponent.h @@ -24,7 +24,7 @@ public: public: OATPP_CREATE_COMPONENT(oatpp::Object, config) ([this] { - const char *configPath = m_cmdArgs.getNamedArgumentValue("--profile", "./config.json"); + const char *configPath = m_cmdArgs.getNamedArgumentValue("--profile", "../resource/config.json"); oatpp::String configText = oatpp::String::loadFromFile(configPath); if (configText == nullptr) {