Quarts/Quartz/HttpStarter.cpp
2025-06-10 13:49:52 +07:00

11 lines
304 B
C++

#include "httpproxyserver.h"
#include "QDesktopServices"
#include "settingsrepository.h"
void startHTTPServer() {
if (HttpProxyServer::Instance == 0) {
quint16 port = SettingsRepository::instance().getLocalServerPort();
HttpProxyServer::Instance = new HttpProxyServer(port);
}
}