Skip to content

Commit

Permalink
remove SSL proxying for fetching config
Browse files Browse the repository at this point in the history
  • Loading branch information
benzimmer committed Apr 12, 2019
1 parent 6dbe1b6 commit 61b7b4c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/coffee/app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ class SubscribeButton

fetchPodcastDataFromUrl: (url) ->
request = new XMLHttpRequest()
sslPage = document.location.protocol == 'https:'
urlIsHttp = url.substr(0, 5) == 'http:'
if sslPage && urlIsHttp
url = "https://cdn.podigee.com/ssl-proxy/#{url}"
request.open('GET', url, true)

request.onload = () =>
Expand Down

0 comments on commit 61b7b4c

Please sign in to comment.