Wordpress site in the Tor network
This commit is contained in:
parent
a8fe4e6aab
commit
dab6e10881
9 changed files with 50 additions and 38 deletions
|
@ -109,12 +109,9 @@ void VpnConfigurator::updateContainerConfigAfterInstallation(DockerContainer con
|
|||
|
||||
qDebug() << "amnezia-tor onions" << stdOut;
|
||||
|
||||
QStringList l = stdOut.split(",");
|
||||
for (QString s : l) {
|
||||
if (s.contains(":80")) {
|
||||
protocol.insert(config_key::site, s);
|
||||
}
|
||||
}
|
||||
QString onion = stdOut;
|
||||
onion.replace("\n", "");
|
||||
protocol.insert(config_key::site, onion);
|
||||
|
||||
containerConfig.insert(ProtocolProps::protoToString(mainProto), protocol);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue