mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-05-24 22:48:23 -05:00
dbhub: Fix port number mismatch when using port 443
This fixes checking out databases and pushing changes to them later. Because for the first the port number was omitted and for the second it was expected, looking up the last commit id in the database returned no results which led to an 'Update required' error from the dbhub server.
This commit is contained in:
@@ -394,7 +394,7 @@ QString RemoteDatabase::getInfoFromClientCert(const QString& cert, CertInfo info
|
||||
// Assemble the full URL from the host name. We use port 443 by default but for
|
||||
// local development purposes we use 5550 instead.
|
||||
QString host = cn_parts.last();
|
||||
host = QString("https://%1:%2/").arg(host).arg(host.contains("docker-dev") ? "5550" : "443");
|
||||
host = QString("https://%1%2/").arg(host).arg(host.contains("docker-dev") ? ":5550" : "");
|
||||
return host;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user