Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
fix share url problem
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckSoft committed Jun 16, 2020
1 parent cbb220a commit 6d28392
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/Serializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ const QString NaiveProxySerializer::SerializeOutbound(const QString &, const QSt
{
QUrl url;
if (const auto protocol = object["protocol"].toString(); protocol != "https" && protocol != "quic")
url.setScheme("https");
url.setScheme("naive+https");
else
url.setScheme(protocol);
url.setScheme("naive+" + protocol);

if (const auto username = object["username"].toString(); !username.isEmpty())
url.setUserName(username);
Expand Down

0 comments on commit 6d28392

Please sign in to comment.