added 'spa-asset-test' config option. Fixes #36
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
{
|
||||
"spa": "index.html"
|
||||
"spa": "index.html",
|
||||
"no-cache": true
|
||||
}
|
||||
|
BIN
example/spa/image.jpg
Normal file
BIN
example/spa/image.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
@ -7,6 +7,8 @@
|
||||
<li><a href="/login">/login</a></li>
|
||||
<li><a href="/search">/search</a></li>
|
||||
</ul>
|
||||
<p>Found asset: <img src="image.jpg" /></p>
|
||||
<p>Missing asset (should 404): <img src="sdafsadf.jpg" /></p>
|
||||
<script>
|
||||
document.querySelector('h2 span').textContent = window.location.pathname
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user