mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-03-22 08:14:16 +00:00
Fix slideshare CSP error by always using HTTPS
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
31bfd6d779
commit
d56ff5bdf3
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ export function finishView (view) {
|
|||
.each((key, value) => {
|
||||
$.ajax({
|
||||
type: 'GET',
|
||||
url: `//www.slideshare.net/api/oembed/2?url=http://www.slideshare.net/${$(value).attr('data-slideshareid')}&format=json`,
|
||||
url: `https://www.slideshare.net/api/oembed/2?url=https://www.slideshare.net/${$(value).attr('data-slideshareid')}&format=json`,
|
||||
jsonp: 'callback',
|
||||
dataType: 'jsonp',
|
||||
success (data) {
|
||||
|
|
Loading…
Reference in a new issue