Skip to content

Commit

Permalink
HTTPServer: Remove Allowed Origin http://chromecast.mythtvcast.com
Browse files Browse the repository at this point in the history
From: a1e72a2, but only one file
was affected.

Refs: #453
  • Loading branch information
Bill Meek committed Jan 20, 2022
1 parent 23738a7 commit 4f7953f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythtv/libs/libmythupnp/httprequest.cpp
Expand Up @@ -2300,8 +2300,7 @@ void HTTPRequest::AddCORSHeaders( const QString &sOrigin )

QStringList allowedOriginsList =
gCoreContext->GetSetting("AllowedOriginsList", QString(
"https://chromecast.mythtv.org,"
"http://chromecast.mythtvcast.com"
"https://chromecast.mythtv.org"
)).split(",");

for (QStringList::const_iterator it = allowedOriginsList.begin();
Expand Down

0 comments on commit 4f7953f

Please sign in to comment.