Browse Source

bug: fix logout image url (#620)

Url root is wrong leading to a broken image, e.g. see https://cloud.squidex.io/identity-server/account/logout-completed
pull/624/head
Alastair Crabtree 5 years ago
committed by GitHub
parent
commit
af8f9d6773
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      backend/src/Squidex/Areas/IdentityServer/Views/Account/LogoutCompleted.cshtml

4
backend/src/Squidex/Areas/IdentityServer/Views/Account/LogoutCompleted.cshtml

@ -2,10 +2,10 @@
ViewBag.Title = T.Get("users.logout.title"); ViewBag.Title = T.Get("users.logout.title");
} }
<img class="splash-image" src="@Url.Content("~/squid.svg?title=BYE%20BYE&text=Hope%20to%20see%20you%20again%20soon!&face=happy")" /> <img class="splash-image" src="@Url.RootContentUrl("~/squid.svg?title=BYE%20BYE&text=Hope%20to%20see%20you%20again%20soon!&face=happy")" />
<h1 class="splash-h1">@T.Get("users.logout.headline")</h1> <h1 class="splash-h1">@T.Get("users.logout.headline")</h1>
<p class="splash-text"> <p class="splash-text">
@T.Get("users.logout.text") @T.Get("users.logout.text")
</p> </p>

Loading…
Cancel
Save