diff --git a/source/shared/utils/downloadqueue.cpp b/source/shared/utils/downloadqueue.cpp index 5506d91ef..8a3d8501e 100644 --- a/source/shared/utils/downloadqueue.cpp +++ b/source/shared/utils/downloadqueue.cpp @@ -62,7 +62,7 @@ bool DownloadQueue::add(QUrl url) QUrl hostUrl(QString::fromStdString(location["href"].as())); // Cross origin measures are only necessary when actually going cross origin - if(hostUrl.host() != url.host()) + if(hostUrl.host() != url.host() && url.host() != u"localhost"_s && !url.isLocalFile()) { // If the environment variable CORS_PROXY is present then prepend // it to the resource being downloaded, so that the WebAssembly