diff --git a/config.ts b/config.ts index af29271..a507eb3 100644 --- a/config.ts +++ b/config.ts @@ -6,11 +6,17 @@ export class Config { * The base URL of the PDS (Personal Data Server) * @default "https://pds.witchcraft.systems" */ - static readonly PDS_URL: string = "https://pds.witchcraft.systems"; + static readonly PDS_URL: string = "https://ap.brid.gy"; /** * The base URL of the frontend service for linking to replies * @default "https://deer.social" */ static readonly FRONTEND_URL: string = "https://deer.social"; + + /** + * Maximum number of posts to fetch from the PDS per user + * @default 10 + */ + static readonly MAX_POSTS_PER_USER: number = 1; } \ No newline at end of file diff --git a/src/App.svelte b/src/App.svelte index a8a0033..c5a024c 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -14,9 +14,11 @@
Home to {accountsData.length} accounts
+Error: {error.message}
@@ -26,9 +28,11 @@Loading...
{:then postsData}{post.text}
- +