1.1.2
このコミットが含まれているのは:
コミット
2e9f24b992
|
@ -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/">076</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;
|
||||
|
|
読み込み中…
新しいイシューから参照