Skip to content

Commit

Permalink
eruda added
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-zhur committed Oct 1, 2024
1 parent c7f49e2 commit b7c99c2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions OneShelf.Frontend/OneShelf.Frontend.Web/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,16 @@
})();

</script>

<script>
// https://github.com/liriliri/eruda
; (function () {
var src = '//cdn.jsdelivr.net/npm/eruda';
if (!/eruda=true/.test(window.location) && localStorage.getItem('active-eruda') != 'true') return;
document.write('<scr' + 'ipt src="' + src + '"></scr' + 'ipt>');
document.write('<scr' + 'ipt>eruda.init();</scr' + 'ipt>');
})();
</script>

<div id="blazor-error-ui">
Случилась ошибка.
Expand Down

0 comments on commit b7c99c2

Please sign in to comment.