Use GetRelativePathOrAbsolute in ViewCrowdfund and ViewPointOfSale

This commit is contained in:
nicolas.dorier
2019-02-19 00:28:44 +09:00
parent ce9a6bced7
commit dc7965267b
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
<meta charset="utf-8"/> <meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<link href="@Context.Request.GetAbsoluteUri(themeManager.BootstrapUri)" rel="stylesheet"/> <link href="@Context.Request.GetRelativePathOrAbsolute(themeManager.BootstrapUri)" rel="stylesheet"/>
@if (Model.CustomCSSLink != null) @if (Model.CustomCSSLink != null)
{ {
<link href="@Model.CustomCSSLink" rel="stylesheet"/> <link href="@Model.CustomCSSLink" rel="stylesheet"/>

View File

@@ -20,7 +20,7 @@
<link rel="manifest" href="~/manifest.json"> <link rel="manifest" href="~/manifest.json">
<link href="@this.Context.Request.GetAbsoluteUri(themeManager.BootstrapUri)" rel="stylesheet" /> <link href="@this.Context.Request.GetRelativePathOrAbsolute(themeManager.BootstrapUri)" rel="stylesheet" />
@if (Model.CustomCSSLink != null) @if (Model.CustomCSSLink != null)
{ {
<link href="@Model.CustomCSSLink" rel="stylesheet" /> <link href="@Model.CustomCSSLink" rel="stylesheet" />