misc: 404 guest page if linked instance
This commit is contained in:
1 parent
ababbb4371
commit
8b21c13dca
1 file changed
+6
@@ -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)
|
||||||
|
}
|
||||||
Reference in new issue
Block a user