diff --git a/README.md b/README.md index 7a09fba..7387771 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# TinyIB [![Donate](http://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space) +# TinyIB +[![Donate](https://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space) A lightweight and efficient [image board](https://en.wikipedia.org/wiki/Imageboard). See [TinyIB Installations](https://gitlab.com/tslocum/tinyib/wikis/Home) for demos. diff --git a/inc/defines.php b/inc/defines.php index a60e102..b4054c4 100644 --- a/inc/defines.php +++ b/inc/defines.php @@ -80,8 +80,8 @@ if (!isset($tinyib_uploads)) { if (!isset($tinyib_embeds)) { $tinyib_embeds = array(); if (defined('TINYIB_EMBED') && TINYIB_EMBED) { - $tinyib_embeds['SoundCloud'] = 'http://soundcloud.com/oembed?format=json&url=TINYIBEMBED'; - $tinyib_embeds['Vimeo'] = 'http://vimeo.com/api/oembed.json?url=TINYIBEMBED'; - $tinyib_embeds['YouTube'] = 'http://www.youtube.com/oembed?url=TINYIBEMBED&format=json'; + $tinyib_embeds['SoundCloud'] = 'https://soundcloud.com/oembed?format=json&url=TINYIBEMBED'; + $tinyib_embeds['Vimeo'] = 'https://vimeo.com/api/oembed.json?url=TINYIBEMBED'; + $tinyib_embeds['YouTube'] = 'https://www.youtube.com/oembed?url=TINYIBEMBED&format=json'; } } diff --git a/settings.default.php b/settings.default.php index e92a489..fab294f 100644 --- a/settings.default.php +++ b/settings.default.php @@ -48,9 +48,9 @@ $tinyib_uploads = array('image/jpeg' => array('jpg'), // oEmbed APIs // Empty array to disable -$tinyib_embeds = array('SoundCloud' => 'http://soundcloud.com/oembed?format=json&url=TINYIBEMBED', - 'Vimeo' => 'http://vimeo.com/api/oembed.json?url=TINYIBEMBED', - 'YouTube' => 'http://www.youtube.com/oembed?url=TINYIBEMBED&format=json'); +$tinyib_embeds = array('SoundCloud' => 'https://soundcloud.com/oembed?format=json&url=TINYIBEMBED', + 'Vimeo' => 'https://vimeo.com/api/oembed.json?url=TINYIBEMBED', + 'YouTube' => 'https://www.youtube.com/oembed?url=TINYIBEMBED&format=json'); // File control define('TINYIB_MAXKB', 2048); // Maximum file size in kilobytes [0 to disable]