+11
-8
config.ts
+11
-8
config.ts
···
9
9
static readonly PDS_URL: string = "https://pds.witchcraft.systems";
10
10
11
11
/**
12
-
* The base URL of the frontend service for linking to replies
12
+
* The base URL of the frontend service for linking to replies/quotes/accounts etc.
13
13
* @default "https://deer.social"
14
14
*/
15
15
static readonly FRONTEND_URL: string = "https://deer.social";
16
16
17
17
/**
18
-
* Maximum number of posts to show in the feed (across all users)
19
-
* @default 100
18
+
* Maximum number of posts to fetch from the PDS per request
19
+
* Should be around 20 for about 10 users on the pds
20
+
* The more users you have, the lower the number should be
21
+
* since sorting is slow and is done on the frontend
22
+
* @default 20
20
23
*/
21
24
static readonly MAX_POSTS: number = 20;
22
25
···
27
30
static readonly FOOTER_TEXT: string =
28
31
"Astrally projected from <a href='https://witchcraft.systems' target='_blank'>witchcraft.systems</a>";
29
32
30
-
/**
31
-
* Whether to show the posts that are in the future
32
-
* @default false
33
-
*/
34
-
static readonly SHOW_FUTURE_POSTS: boolean = false;
33
+
/**
34
+
* Whether to show the posts that are in the future
35
+
* @default false
36
+
*/
37
+
static readonly SHOW_FUTURE_POSTS: boolean = false;
35
38
}