fix(404): redirect Go Home button to classroomio.com
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
console.error('Error page:', page.url);
|
console.error('Error page:', page.url);
|
||||||
|
|
||||||
function goHome() {
|
function goHome() {
|
||||||
window.location.href = '/';
|
window.location.href = 'https://classroomio.com';
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -14,10 +14,6 @@
|
|||||||
let { isOrg = false, className = '' } = $props();
|
let { isOrg = false, className = '' } = $props();
|
||||||
|
|
||||||
function handleClick() {
|
function handleClick() {
|
||||||
if (!isOrg) {
|
|
||||||
return goto('/');
|
|
||||||
}
|
|
||||||
|
|
||||||
return goto('https://classroomio.com');
|
return goto('https://classroomio.com');
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user