try to fix some shitty things

This commit is contained in:
Guobang Bi 2020-01-16 16:42:43 +08:00
parent 6f13be7217
commit aa52bb4b73
No known key found for this signature in database
GPG Key ID: D850BE43BE29325B

View File

@ -158,7 +158,7 @@ bool MainWindow::MWtryStartConnection()
} }
} else { } else {
if (httpEnabled) { if (httpEnabled) {
pacProxyString = "PROXY http://" + pacIP + ":" + QSTRN(currentConfig.inboundConfig.http_port); pacProxyString = "PROXY " + pacIP + ":" + QSTRN(currentConfig.inboundConfig.http_port);
} else { } else {
LOG(MODULE_UI, "PAC is using HTTP, but it is not enabled") LOG(MODULE_UI, "PAC is using HTTP, but it is not enabled")
QvMessageBox(this, tr("Configuring PAC"), tr("Could not start PAC server as it is configured to use HTTP, but it is not enabled")); QvMessageBox(this, tr("Configuring PAC"), tr("Could not start PAC server as it is configured to use HTTP, but it is not enabled"));