Skip to content

Commit 485999a

Browse files
Merge pull request #88 from Taritsyn/fix-asset-caching-in-samples
Fix a asset caching in sample project
2 parents f8bf424 + fa74a9e commit 485999a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sample/WebOptimizer.Sass.Sample/Pages/Bundle.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
}
55

66
@section head {
7-
<link rel="stylesheet" href="/css/bundle.css" />
7+
<link rel="stylesheet" href="~/css/bundle.css" asp-append-version="true" />
88
}
99

1010
<div>
11-
<p>This page references the bundled stylesheet <a href="~/css/bundle.css" type="text/css">/css/bundle.css</a> which result in:</p>
11+
<p>This page references the bundled stylesheet <a href="~/css/bundle.css">/css/bundle.css</a> which result in:</p>
1212

1313
<ul>
1414
<li><code>/scss/a.scss</code> and <code>/scss/b.scss</code> are compiled to CSS</li>

0 commit comments

Comments
 (0)