mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
correct returned OAuth redirect URL
This commit is contained in:
parent
7f3761481c
commit
078872a6db
1 changed files with 1 additions and 1 deletions
|
@ -680,7 +680,7 @@ unsigned int DomainServer::countConnectedUsers() {
|
|||
|
||||
QUrl DomainServer::oauthRedirectURL() {
|
||||
if (_httpsManager) {
|
||||
return QString("http://%1:%2/oauth").arg(_hostname).arg(_httpsManager->serverPort());
|
||||
return QString("https://%1:%2/oauth").arg(_hostname).arg(_httpsManager->serverPort());
|
||||
} else {
|
||||
qWarning() << "Attempting to determine OAuth re-direct URL with no HTTPS server configured.";
|
||||
return QUrl();
|
||||
|
|
Loading…
Reference in a new issue