A self-hosted media server and file management system
Vue ffmpegfile-serverjellyfinlaravelmediamedia-playermedia-servermediabrowsermediaservermusicmusic-librarymusic-playermusicplayerself-hostedvuejs
fix: ogp debug page forces secure image url
aminnausin7b2de0476d97
diff --git a/resources/views/og-preview.blade.php b/resources/views/og-preview.blade.phpindex cbc15da9..9427cb7a 100644--- a/resources/views/og-preview.blade.php+++ b/resources/views/og-preview.blade.php@@ -2,8 +2,8 @@<html lang="en">@php-$thumbnail_url = str_replace('http://', 'https://', $thumbnail_url ?? '');-$raw = str_replace('http://', 'https://', $raw ?? '');+$thumbnail_url = str_replace('http://', config('app.scheme'). '://', $thumbnail_url ?? '');+$raw = str_replace('http://', config('app.scheme'). '://', $raw ?? '');function highlight_json($json) {$json = e($json); // escape for HTML safety