diff options
| author | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-09-16 16:50:26 +0900 |
|---|---|---|
| committer | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-09-16 16:50:26 +0900 |
| commit | 2596ee05847403de8dba94cc792839a4ed963026 (patch) | |
| tree | ddfe080aa66ac25c91dd57088246efdbad95d222 /public | |
| parent | 135520877a248f5ee035d00973428f0daef0d1df (diff) | |
public/.htaccess: WebPのMIMEタイプを追加
Diffstat (limited to 'public')
| -rw-r--r-- | public/.htaccess | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/public/.htaccess b/public/.htaccess index 11d018d..4f7954f 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,3 +1,6 @@ +# WebPを正しいMIMEタイプで配信する(サーバー既定に無い場合の保険) +AddType image/webp .webp + ErrorDocument 404 /404.html RewriteEngine On |
