misc: 404 guest page if linked instance

This commit is contained in:
Xylight committed 2024-07-25 12:05:50 -07:00
1 parent ababbb4371
commit 8b21c13dca
1 file changed
+6
+6
View File
@@ -0,0 +1,6 @@
import { LINKED_INSTANCE_URL } from '$lib/instance'
import { error } from '@sveltejs/kit'
export function load() {
if (LINKED_INSTANCE_URL) error(404)
}