SVG won't display

前端 未结 2 1490
猫巷女王i
猫巷女王i 2020-12-11 20:48

I\'m trying to get this simple code to work:


    

        
      
      
      
2条回答
  •  南方客
    南方客 (楼主)
    2020-12-11 21:29

    I was experiencing the first of the problems described by @r3mainer.

    On my lighttpd server the problem was caused by the missing

      ".svg"          =>      "image/svg+xml",
    

    line in the mimetype.assign section of the lighttpd configuration file.

提交回复
热议问题