Load SVG as img instead object because X-Frame-Options server config

stable
Álex Hermida 2018-01-26 11:34:31 +01:00
parent 03ee516511
commit 3a458ded60
2 changed files with 2 additions and 4 deletions

View File

@ -2,8 +2,7 @@ doctype html
div.error-main
div.error-container
object.logo-svg(type="image/svg+xml", data="/#{v}/svg/logo.svg")
img(src="/#{v}/images/logo.png", alt="TAIGA")
img(src="/#{v}/svg/logo.svg", alt="TAIGA")
h1.logo Taiga
p.error-text(translate="ERROR.TEXT1")
a(href="/", title="", translate="COMMON.GO_HOME")

View File

@ -2,8 +2,7 @@ doctype html
div.error-main
div.error-container
object.logo-svg(type="image/svg+xml", data="/#{v}/svg/logo.svg")
img(src="/#{v}/images/logo.png", alt="TAIGA")
img(src="/#{v}/svg/logo.svg", alt="TAIGA")
h1.logo(translate="ERROR.NOT_FOUND")
p.error-text(translate="ERROR.NOT_FOUND_TEXT")
a(href="/", title="", translate="COMMON.GO_HOME")