From f6343c7db460595266f89bbb2a62d86648a3a0e7 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Tue, 4 Jun 2024 13:10:11 +0200 Subject: [PATCH] feat: add `config` file --- config.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 config.ts diff --git a/config.ts b/config.ts new file mode 100644 index 0000000..0400725 --- /dev/null +++ b/config.ts @@ -0,0 +1,6 @@ +/** Base url of cohabit forgejo instance */ +export const COHABIT_GIT_URL = Deno.env.get('COHABIT_GIT_URL') ?? + 'https://git.cohabit.fr/' +/** Portfolio base path (forgejo raw file path + branch name) */ +export const PORTFOLIO_BASE_URL = Deno.env.get('PORTFOLIO_BASE_URL') ?? + '.portfolio/raw/branch/main/'