diff options
author | Raphael Kabo <raphaelkabo@hey.com> | 2023-10-09 10:48:10 +0100 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@hey.com> | 2023-10-09 10:48:10 +0100 |
commit | 8b33335584afbac74388c4ed16ff1ff7a04e3588 (patch) | |
tree | bc35e2e96695a56780139856dfd1f5267546193f /src/util/config.ts | |
parent | 8a1f07b11e8e18243c058149ac58ece7766b7ef3 (diff) |
Add static page config and handler
Diffstat (limited to 'src/util/config.ts')
-rw-r--r-- | src/util/config.ts | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/util/config.ts b/src/util/config.ts deleted file mode 100644 index d1fd05b..0000000 --- a/src/util/config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import getConfig from "../lib/config.js"; - -const config = getConfig(); - -interface FrontendConfig { - domain: string; - email: string; - siteName: string; - showKofi: boolean; - isFederated: boolean; -} - -export const frontendConfig = (): FrontendConfig => ({ - domain: config.general.domain, - email: config.general.email, - siteName: config.general.site_name, - showKofi: config.general.show_kofi, - isFederated: config.general.is_federated, -}); |