diff --git a/config.ts b/config.ts new file mode 100644 index 0000000..af29271 --- /dev/null +++ b/config.ts @@ -0,0 +1,16 @@ +/** + * Configuration module for the PDS Dashboard + */ +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"; + + /** + * The base URL of the frontend service for linking to replies + * @default "https://deer.social" + */ + static readonly FRONTEND_URL: string = "https://deer.social"; +} \ No newline at end of file diff --git a/src/lib/PostComponent.svelte b/src/lib/PostComponent.svelte index 9b4cae1..6c1fd92 100644 --- a/src/lib/PostComponent.svelte +++ b/src/lib/PostComponent.svelte @@ -1,5 +1,6 @@ @@ -8,8 +9,8 @@ {#if post.authorAvatarCid} avatar of {post.displayName} {/if}

{post.displayName} | {post.timenotstamp}

@@ -25,7 +26,7 @@ Post Image {/each} @@ -33,7 +34,7 @@ {#if post.videosLinkCid}