Skip to content

Commit

Permalink
🚸 feat: enhance the errror handling message in index.html (#2230)
Browse files Browse the repository at this point in the history
  • Loading branch information
capdiem authored Nov 13, 2024
1 parent 34363f5 commit 122e830
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/Masa.Docs.WebAssembly/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@

<div id="blazor-error-ui">
An unhandled error has occurred.
<a href="" class="reload" onclick="swSkipWaiting()">Reload</a>
If <a href="" class="reload" onclick="swSkipWaiting()">Reload</a> does not work,
please try to clear the cache and reload the page or use keyboard shortcuts (<kbd>Ctrl+F5</kbd> for Windows, <kbd>Command+Shift+R</kbd> for Mac).
<a class="dismiss">🗙</a>
</div>

Expand Down
3 changes: 2 additions & 1 deletion src/Masa.Try.WebAssembly/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@

<div id="blazor-error-ui">
An unhandled error has occurred.
<a href="" class="reload">Reload</a>
If <a href="" class="reload">Reload</a> does not work,
please try to clear the cache and reload the page or use keyboard shortcuts (<kbd>Ctrl+F5</kbd> for Windows, <kbd>Command+Shift+R</kbd> for Mac).
<a class="dismiss">🗙</a>
</div>
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
Expand Down

0 comments on commit 122e830

Please sign in to comment.