aboutsummaryrefslogtreecommitdiffhomepage
path: root/public
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-09-16 16:50:26 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-09-16 16:50:26 +0900
commit2596ee05847403de8dba94cc792839a4ed963026 (patch)
treeddfe080aa66ac25c91dd57088246efdbad95d222 /public
parent135520877a248f5ee035d00973428f0daef0d1df (diff)
public/.htaccess: WebPのMIMEタイプを追加
Diffstat (limited to 'public')
-rw-r--r--public/.htaccess3
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