正規表現を修正

This commit is contained in:
eai04191 2019-01-14 23:46:39 +09:00
parent f134cbefa8
commit 3dedb57fe4
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class FantiaResolver implements Resolver
// 投稿に画像がない場合ogp.jpgでない場合のみ大きい画像に変換する
if($ogpUrl != "http://fantia.jp/images/ogp.jpg"){
preg_match("~https:\/\/fantia\.s3\.amazonaws\.com\/uploads\/post\/file\/{$postId}\/ogp_(.*?).jpg~", $ogpUrl, $match);
preg_match("~https://fantia\.s3\.amazonaws\.com/uploads/post/file/{$postId}/ogp_(.*?).jpg~", $ogpUrl, $match);
$uuid = $match[1];
// 大きい画像に変換