优化;删除预编译字节码
This commit is contained in:
@@ -5,10 +5,22 @@
|
||||
int main()
|
||||
{
|
||||
std::string config_filepath = std::filesystem::current_path().string()+"/config.ini";
|
||||
if (fastweb(config_filepath.c_str()) != 0)
|
||||
if (fastweb_start(config_filepath.c_str()) != 0)
|
||||
return -1;
|
||||
|
||||
while (true)
|
||||
std::cin.get();
|
||||
{
|
||||
std::string input;
|
||||
std::cin >> input;
|
||||
|
||||
if (input == "quit" || input == "exit")
|
||||
{
|
||||
fastweb_close();
|
||||
std::cout << "closed";
|
||||
break;
|
||||
}
|
||||
else
|
||||
std::cout << "Enter \"quit\" or \"exit\" to exit the application" << std::endl;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user