mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-11-23 15:26:40 +01:00
Add error log on error page
This commit is contained in:
parent
ab84787550
commit
71bb9f2701
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,8 @@
|
|||
|
||||
onMount(() => {
|
||||
refreshUrl = `${location.href}?r=${new Date().getTime()}`;
|
||||
window.location.reload();
|
||||
console.error(error);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
@ -47,6 +49,7 @@
|
|||
<a
|
||||
class="px-4 py-2 rounded-xl border-2 border-white border-opacity-25 hover:border-primary text-blue-400 hover:text-primary text-xl mt-4 text-center"
|
||||
href={refreshUrl}
|
||||
rel="external"
|
||||
>
|
||||
Click here to refresh
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue