From f344f1681b9df367637e1227ad855537eff7a365 Mon Sep 17 00:00:00 2001
From: PxlLoewe <72106766+PxlLoewe@users.noreply.github.com>
Date: Sat, 14 Jun 2025 00:04:11 -0700
Subject: [PATCH] remove prod env
---
.env.example | 1 +
.env.prod | 82 ---------------------------------
apps/docs/.vitepress/config.mts | 7 +--
apps/docs/src/index.md | 5 +-
4 files changed, 9 insertions(+), 86 deletions(-)
delete mode 100644 .env.prod
diff --git a/.env.example b/.env.example
index 52aaa1f2..7138de2a 100644
--- a/.env.example
+++ b/.env.example
@@ -74,6 +74,7 @@ MAIL_PASSWORD=
# ───────────────────────────────────────────────
DISCORD_GUILD_ID=
+DISCORD_REPORT_CHANNEL=
DISCORD_OAUTH_CLIENT_ID=
DISCORD_OAUTH_SECRET=
diff --git a/.env.prod b/.env.prod
deleted file mode 100644
index 52aaa1f2..00000000
--- a/.env.prod
+++ /dev/null
@@ -1,82 +0,0 @@
-# ───────────────────────────────────────────────
-# 🔐 Authentifizierung & Cookies
-# ───────────────────────────────────────────────
-AUTH_DISPATCH_SECRET=
-AUTH_HUB_SECRET=
-
-AUTH_DISPATCH_COOKIE_PREFIX=
-AUTH_HUB_COOKIE_PREFIX=
-
-AUTH_DISPATCH_URL=
-AUTH_HUB_URL=
-NEXT_PUBLIC_DISPATCH_SERVICE_ID=
-
-
-# ───────────────────────────────────────────────
-# 🌐 Öffentliche URLs
-# ───────────────────────────────────────────────
-NEXT_PUBLIC_HUB_URL=
-NEXT_PUBLIC_HUB_SERVER_URL=
-NEXT_PUBLIC_DISPATCH_URL=
-NEXT_PUBLIC_DISPATCH_SERVER_URL=
-DISCORD_SERVER_URL=
-
-
-NEXT_PUBLIC_ESRI_ACCESS_TOKEN=
-NEXT_PUBLIC_OPENAIP_ACCESS=
-
-# ───────────────────────────────────────────────
-# 🗄️ Datenbank
-# ───────────────────────────────────────────────
-DATABASE_URL=
-
-# ───────────────────────────────────────────────
-# 📡 LiveKit Konfiguration
-# ───────────────────────────────────────────────
-NEXT_PUBLIC_LIVEKIT_URL=
-LIVEKIT_API_KEY=
-LIVEKIT_API_SECRET=
-
-# ───────────────────────────────────────────────
-# 🚦 Dispatch Server (Backend)
-# ───────────────────────────────────────────────
-DISPATCH_SERVER_PORT=
-DISPATCH_APP_TOKEN=
-
-REDIS_HOST=
-REDIS_PORT=
-
-# ───────────────────────────────────────────────
-# 🧠 HUB Server (Backend)
-# ───────────────────────────────────────────────
-HUB_SERVER_PORT=
-
-DISCORD_SERVER_PORT=
-# ───────────────────────────────────────────────
-# 📚 Moodle
-# ───────────────────────────────────────────────
-MOODLE_URL=
-MOODLE_API_TOKEN=
-MOODLE_USER_PASSWORD=
-NEXT_PUBLIC_MOODLE_URL=
-
-
-# ───────────────────────────────────────────────
-# 📧 E-Mail Einstellungen (nur HUB Server)
-# ───────────────────────────────────────────────
-MAIL_SERVER=
-MAIL_PORT=
-MAIL_USER=
-MAIL_PASSWORD=
-
-# ───────────────────────────────────────────────
-# 🕹️ Discord OAuth (optional)
-# ───────────────────────────────────────────────
-
-DISCORD_GUILD_ID=
-
-DISCORD_OAUTH_CLIENT_ID=
-DISCORD_OAUTH_SECRET=
-DISCORD_BOT_TOKEN=
-DISCORD_REDIRECT_URL=
-NEXT_PUBLIC_DISCORD_URL=
\ No newline at end of file
diff --git a/apps/docs/.vitepress/config.mts b/apps/docs/.vitepress/config.mts
index 057576eb..c66445f3 100644
--- a/apps/docs/.vitepress/config.mts
+++ b/apps/docs/.vitepress/config.mts
@@ -38,7 +38,8 @@ export default defineConfig({
],
footer: {
- message: "Impressum | Datenschutzerklärung",
+ message:
+ "Impressum | Datenschutzerklärung",
},
sidebar: [
@@ -163,8 +164,8 @@ export default defineConfig({
{
text: "",
items: [
- { text: "Impressum", link: "/" },
- { text: "Datenschutzerklärung", link: "/" },
+ { text: "Impressum", link: "https://virtualairrescue.com/impressum/" },
+ { text: "Datenschutzerklärung", link: "https://virtualairrescue.com/datenschutz/" },
{ text: "Mitwirken", link: "/" },
],
},
diff --git a/apps/docs/src/index.md b/apps/docs/src/index.md
index ef7a95ee..dd05a6b9 100644
--- a/apps/docs/src/index.md
+++ b/apps/docs/src/index.md
@@ -21,8 +21,11 @@ hero:
features:
- title: Wie werde ich Pilot?
details: Lies dir hier unser Einsteiger Guide für neue Piloten durch!
- - title: Wie werde ich Dispatcher?
+ link: /pilotenbereich/how-to-pilot
+ - title: Wie werde ich Disponent?
details: Du hast Reallife Erfahrung aus dem Rettungsdienst oder bist IRL Disponent? Finde hier mehr heraus!
+ link: /disponentenbereich/how-to-disponent
- title: Was ist eigentlich die VAR?
details: Die VAR ist eine Community von Enthusiasten rund um die Luftrettung, wir simulieren die Rettungsfliegerei in der gesamten DACH Region. Finde hier mehr heraus!
+ link: https://virtualairrescue.com/
---