mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
Fix location.protocol value for serverless domains
This commit is contained in:
parent
d8f0cfa89a
commit
b82f2510f2
2 changed files with 5 additions and 1 deletions
|
@ -39,6 +39,10 @@ bool AddressManager::isConnected() {
|
|||
return DependencyManager::get<NodeList>()->getDomainHandler().isConnected();
|
||||
}
|
||||
|
||||
QString AddressManager::getProtocol() const {
|
||||
return _domainURL.scheme();
|
||||
}
|
||||
|
||||
QUrl AddressManager::currentAddress(bool domainOnly) const {
|
||||
QUrl hifiURL = _domainURL;
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ public:
|
|||
};
|
||||
|
||||
bool isConnected();
|
||||
const QString& getProtocol() { return URL_SCHEME_HIFI; };
|
||||
QString getProtocol() const;
|
||||
|
||||
QUrl currentAddress(bool domainOnly = false) const;
|
||||
QUrl currentFacingAddress() const;
|
||||
|
|
Loading…
Reference in a new issue