Content-Security-Policy-Report-Onlyを追加
This commit is contained in:
parent
ddde68ad2d
commit
b888c66ca2
11 changed files with 76 additions and 56 deletions
|
@ -154,7 +154,7 @@
|
|||
<path d="M5 19h14a2 2 0 0 0 1.84 -2.75l-7.1 -12.25a2 2 0 0 0 -3.5 0l-7.1 12.25a2 2 0 0 0 1.75 2.75"></path>
|
||||
</svg>
|
||||
<h1>An error has occurred!</h1>
|
||||
<button class="button-big" onclick="location.reload();">
|
||||
<button class="button-big" id="reload">
|
||||
<span class="button-label-big">Refresh</span>
|
||||
</button>
|
||||
<p class="dont-worry">Don't worry, it's (probably) not your fault.</p>
|
||||
|
@ -181,6 +181,9 @@
|
|||
<br>
|
||||
<div id="errors"></div>
|
||||
`;
|
||||
document.getElementById("reload").addEventListener('click', () => {
|
||||
location.reload();
|
||||
});
|
||||
errorsElement = document.getElementById('errors');
|
||||
}
|
||||
const detailsElement = document.createElement('details');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue