From 1e56d7c9e1c27699bf26e2e94c990766801f0bea Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 22 Oct 2022 20:25:08 +0300 Subject: feat: extend benzin config --- src/benzinConfig.ts | 4 +++- src/lib/types.ts | 4 ++-- src/pages/[...path].tsx | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/benzinConfig.ts b/src/benzinConfig.ts index d310bb3..6543117 100644 --- a/src/benzinConfig.ts +++ b/src/benzinConfig.ts @@ -2,8 +2,10 @@ import { BenzinConfig } from './lib/types'; import nginxAdapter from './lib/nginxAdapter'; const benzinConfig: BenzinConfig = { - CDN: 'http://localhost:8000', + CDN: 'https://git.eug-vs.xyz/eug-vs/eug-vs-xyz/plain/src', adapter: nginxAdapter, + title: `Eugene's Space`, + faviconPath: '/public/icon-64.png', }; export default benzinConfig; diff --git a/src/lib/types.ts b/src/lib/types.ts index 8bbf5bb..da073e6 100644 --- a/src/lib/types.ts +++ b/src/lib/types.ts @@ -10,6 +10,6 @@ export interface Adapter { export interface BenzinConfig { CDN: string; adapter: Adapter; + title: string; + faviconPath: string; } - - diff --git a/src/pages/[...path].tsx b/src/pages/[...path].tsx index a49286d..5bedae3 100644 --- a/src/pages/[...path].tsx +++ b/src/pages/[...path].tsx @@ -51,9 +51,9 @@ const Page: NextPage = ({ markdownSource, emojiFileNames }: any) => { return ( <> - {`Eugene's Space`} + {benzinConfig.title} - +