Config.ts -> config.ts.example
This commit is contained in:
parent
67af67ef49
commit
8eda5e6672
2 changed files with 11 additions and 8 deletions
|
@ -10,7 +10,9 @@ a frontend dashboard with stats for your ATProto PDS.
|
||||||
|
|
||||||
### installing
|
### installing
|
||||||
|
|
||||||
clone the repo, install dependencies using deno:
|
clone the repo, copy `config.ts.example` to `config.ts` and edit it to your liking.
|
||||||
|
|
||||||
|
then, install dependencies using deno:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
deno install
|
deno install
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
*/
|
*/
|
||||||
export class Config {
|
export class Config {
|
||||||
/**
|
/**
|
||||||
* The base URL of the PDS (Personal Data Server)
|
* The base URL of the PDS (Personal Data Server).
|
||||||
* @default "https://pds.witchcraft.systems"
|
* @default none
|
||||||
*/
|
*/
|
||||||
static readonly PDS_URL: string = "https://pds.witchcraft.systems";
|
static readonly PDS_URL: string = "";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The base URL of the frontend service for linking to replies/quotes/accounts etc.
|
* The base URL of the frontend service for linking to replies/quotes/accounts etc.
|
||||||
* @default "https://deer.social"
|
* @default "https://deer.social" // or https://bsky.app if you're boring
|
||||||
*/
|
*/
|
||||||
static readonly FRONTEND_URL: string = "https://deer.social";
|
static readonly FRONTEND_URL: string = "https://deer.social";
|
||||||
|
|
||||||
|
@ -24,13 +24,14 @@ export class Config {
|
||||||
static readonly MAX_POSTS: number = 20;
|
static readonly MAX_POSTS: number = 20;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Footer text for the dashboard, you probably want to change this
|
* Footer text for the dashboard, you probably want to change this. Supports HTML.
|
||||||
|
* @default "<a href='https://git.witchcraft.systems/scientific-witchery/pds-dash' target='_blank'>Source</a> (<a href='https://github.com/witchcraft-systems/pds-dash/' target='_blank'>github mirror</a>)"
|
||||||
*/
|
*/
|
||||||
static readonly FOOTER_TEXT: string =
|
static readonly FOOTER_TEXT: string =
|
||||||
"Astrally projected from <a href='https://witchcraft.systems' target='_blank'>witchcraft.systems</a><br><br><a href='https://git.witchcraft.systems/scientific-witchery/pds-dash' target='_blank'>Source</a> (<a href='https://github.com/witchcraft-systems/pds-dash/' target='_blank'>github mirror</a>)";
|
"<a href='https://git.witchcraft.systems/scientific-witchery/pds-dash' target='_blank'>Source</a> (<a href='https://github.com/witchcraft-systems/pds-dash/' target='_blank'>github mirror</a>)";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether to show the posts that are in the future
|
* Whether to show the posts with timestamps that are in the future.
|
||||||
* @default false
|
* @default false
|
||||||
*/
|
*/
|
||||||
static readonly SHOW_FUTURE_POSTS: boolean = false;
|
static readonly SHOW_FUTURE_POSTS: boolean = false;
|
Loading…
Add table
Add a link
Reference in a new issue