LoginSignup
8

More than 5 years have passed since last update.

サーバー上でSVGが表示されない時

Posted at

SVGを利用したサイトをエックスサーバーやロリポップにアップしたらそのままでは表示されなかった。

下記を追加したら問題解決しました。

AddType image/svg+xml .svg
AddType image/svg+xml .svgz

via ベクター形式でWebページ上に表示できるSVGでロゴを描いてみた | SUSH-i LOG

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8