feat(parser): get config file from arg

This commit is contained in:
3lswear
2022-02-12 00:30:50 +03:00
parent 4c7712eac1
commit 29ae04e40d
10 changed files with 14 additions and 13 deletions

View File

@@ -10,7 +10,7 @@ int main(int argc, char **argv)
Server server;
server.readConfig();
server.readConfig(argv[1]);
server.setupConfig();
server.start();
server.end();