このコミットが含まれているのは:
守矢諏訪子 2023-10-23 15:05:55 +09:00
コミット 2e9f24b992
4個のファイルの変更12行の追加2行の削除

ファイルの表示

@ -1,3 +1,7 @@
# 1.1.2
* 投稿内の画像もプロクシー化
* 投稿内の画像はレスポンシブに
# 1.1.1
* YouTube動画があれば、オワコンYouTubeに変更させる様に
* サムネイルがなければ、getimg()関数をす部に終了する様に

ファイルの表示

@ -44,7 +44,7 @@ rcctl restart httpd
| ウエブサイト | [クラフレ](http://jezf25zgvxlsvuzdzm6fg2hoetmruhy4uxnolyw46tuh4jugcwc7byqd.onion/Cloudflare%E3%82%92%E4%BD%BF%E3%82%8F%E3%81%AA%E3%81%84%E7%90%86%E7%94%B1%EF%BC%88%E3%83%AA%E3%83%81%E3%83%A3%E3%83%BC%E3%83%89%E3%83%BB%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%83%9E%E3%83%B3%EF%BC%89) | 注 |
| -- | -- | -- |
| [https://spliti.owacon.moe/](https://spliti.owacon.moe/) | 無 | 公式インスタンス |
| [https://mixi.owacon.moe/](https://mixi.owacon.moe/) | 無 | 公式インスタンス |
### Tor

ファイルの表示

@ -87,6 +87,7 @@
$res = str_replace("<!--/article_image-->", "", $res);
$res = preg_replace("/<!--(.*)-->/", "", $res);
$res = str_replace("<!--", "", $res);
$res = preg_replace('/<img src="https:\/\/(.*?)"/s', '<img src="'.IMGPROXY.'/$1"', $res);
$res = str_replace("https://news-image.mixi.net", IMGPROXY."/news-image.mixi.net", $res);
$res = trim("<div class=\"newsArticle\">\n".trim($res))."\n </div>\n";
return "<a href=\"/\">トップへ</a>".$res;
@ -152,7 +153,7 @@
<body>
<?= $out["content"] ?>
<p class="footer">
Spliti 1.1.1 |
Spliti 1.1.2 |
<a href="https://gitler.moe/suwako/spliti"><img src="/git.png" alt="Git"></a> |
<a href="https://076.moe/"></a>
</p>

ファイルの表示

@ -39,6 +39,11 @@ code {
line-height: 2.5;
}
.article > img {
max-width: 100%;
width: auto;
}
.newsArticle {
width: calc(100% - 20px);
max-width: 1200px;