Skip to content

Commit

Permalink
fix: use the domain instead of URL to build Site instances
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Jan 20, 2024
1 parent 51343b6 commit b4beef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/src/models/site-factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Site *SiteFactory::fromUrl(const QString &url, Source *source, Profile *profile)
const QString domain = getDomain(url, &ssl);

// Create the site instance
Site *site = new Site(url, source, profile);
Site *site = new Site(domain, source, profile);
if (ssl) {
site->setSetting("ssl", true, false);
}
Expand Down

0 comments on commit b4beef3

Please sign in to comment.