Skip to content

Commit

Permalink
Use https for noembed fetching
Browse files Browse the repository at this point in the history
Fixes #558
Properly fixes #448
  • Loading branch information
cookpete committed Jan 25, 2019
1 parent 6d6230a commit f45a40d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Preview.js
Expand Up @@ -20,7 +20,7 @@ export default class Preview extends Component {
return
}
this.setState({ image: null })
return window.fetch(`http://noembed.com/embed?url=${url}`)
return window.fetch(`https://noembed.com/embed?url=${url}`)
.then(response => response.json())
.then(data => {
if (data.thumbnail_url) {
Expand Down

0 comments on commit f45a40d

Please sign in to comment.