Skip to content

Commit

Permalink
Fix posts loading being huge
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondburned committed Jul 1, 2023
1 parent 723af42 commit bbbb57d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[[redirects]]
from = "/_proxy/:server/api/v3/*"
to = "https://:server/api/v3/:splat"
status = 200
force = true
2 changes: 1 addition & 1 deletion src/routes/(browse)/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@

{#if loading || $posts.length == 0}
<div
class="grid h-full place-items-center my-8"
class="grid place-items-center my-8"
transition:fade|local={{ duration: 50 }}
>
{#if loading}
Expand Down

0 comments on commit bbbb57d

Please sign in to comment.