feat: Allow changing instance URL when not logged in

This commit is contained in:
Xyphyn committed 2023-07-17 10:40:06 -07:00
1 parent f127b5f645
commit fed5cc2263
11 files changed
+133 -76

No files matched your search

+1 -12
View File
@@ -7,18 +7,7 @@
</script>
<div class="flex flex-col mx-auto gap-4 justify-center items-center">
<h1 class="font-black text-3xl">{$page.status}</h1>
<p class="mx-4 md:mx-8">
Failed to fetch page. Most major lemmy instances are having quite a lot of
issues right now, this might be on their end.
</p>
<p>
This could be a CORS issue. The instance you're using must update to Lemmy
1.18.1 to fix CORS.
</p>
<code class="bg-slate-100 dark:bg-zinc-800 px-2 py-1 rounded-md">
{JSON.stringify($page.error)}
</code>
<h1 class="font-black text-5xl">{$page.status}</h1>
<Link href={$page.url.toString()}>Retry</Link>
<Button
on:click={() => {