mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-11 04:22:43 +02:00
Merge pull request #3551 from ZappoMan/fixHTTPSIncludes
fix include for https relative urls
This commit is contained in:
commit
7400104f87
1 changed files with 1 additions and 1 deletions
|
@ -681,7 +681,7 @@ void ScriptEngine::include(const QString& includeFile) {
|
|||
QUrl url = resolveInclude(includeFile);
|
||||
QString includeContents;
|
||||
|
||||
if (url.scheme() == "http" || url.scheme() == "ftp") {
|
||||
if (url.scheme() == "http" || url.scheme() == "https" || url.scheme() == "ftp") {
|
||||
NetworkAccessManager& networkAccessManager = NetworkAccessManager::getInstance();
|
||||
QNetworkReply* reply = networkAccessManager.get(QNetworkRequest(url));
|
||||
qDebug() << "Downloading included script at" << includeFile;
|
||||
|
|
Loading…
Reference in a new issue