diff --git a/astro.config.mjs b/astro.config.mjs
index e5aa3f07c..34da8c9e1 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -5,13 +5,14 @@ import tailwind from "@astrojs/tailwind";
import starlightTypeDoc, { typeDocSidebarGroup } from 'starlight-typedoc';
export const GITHUB_URL = 'https://github.com/sern-handler';
+export const DISCORD_URL = 'https://discord.gg/DwbF5H5JgQ';
export default defineConfig({
integrations: [starlight({
title: 'sern',
social: {
github: GITHUB_URL,
- discord: 'https://discord.gg/DwbF5H5JgQ',
+ discord: DISCORD_URL,
},
editLink: {
baseUrl: GITHUB_URL + '/website/edit/main/',
diff --git a/src/pages/discord.astro b/src/pages/discord.astro
index efb638367..70559afe0 100644
--- a/src/pages/discord.astro
+++ b/src/pages/discord.astro
@@ -1 +1,5 @@
-
+---
+import { DISCORD_URL } from '../../astro.config.mjs'
+---
+
+