From 894e9f67f53826a4b950413ea2dd0de08479970d Mon Sep 17 00:00:00 2001
From: McMistrzYT <56406996+McMistrzYT@users.noreply.github.com>
Date: Thu, 8 Feb 2024 18:04:49 +0100
Subject: [PATCH] nothin major
---
Server/.example.env | 3 ++-
Server/Source/Routes/Authentication.ts | 1 -
src/routes/AdminHome.tsx | 4 ++--
src/routes/Home.tsx | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Server/.example.env b/Server/.example.env
index 0863aef..74527e9 100644
--- a/Server/.example.env
+++ b/Server/.example.env
@@ -3,11 +3,12 @@ BODY_SIZE_LIMIT=50mb
PROJECT_NAME=Partypack Service
SERVER_URL=localhost
DASHBOARD_URL=localhost:5173 # set this to wherever you're hosting the Partypack dashboard
+USE_HTTPS=true # set this to false if you're debugging on your computer
ENVIRONMENT=dev
COOKIE_SIGN_KEY=
ADMIN_KEY=
+JWT_KEY=
BOT_TOKEN=
-USE_HTTPS=true # set this to false if you're debugging on your computer
MAX_AMOUNT_OF_DRAFTS_AT_ONCE=30
DISCORD_SERVER_ID=
diff --git a/Server/Source/Routes/Authentication.ts b/Server/Source/Routes/Authentication.ts
index a018bd5..44c2f17 100644
--- a/Server/Source/Routes/Authentication.ts
+++ b/Server/Source/Routes/Authentication.ts
@@ -15,7 +15,6 @@ const App = Router();
// ? hacky, if you want, make it less hacky
async function QuickRevokeToken(res: Response, Token: string) {
-
await fetch("https://discord.com/api/oauth2/token/revoke", {
method: "POST",
headers: {
diff --git a/src/routes/AdminHome.tsx b/src/routes/AdminHome.tsx
index 1ccbe14..fa1c1e7 100644
--- a/src/routes/AdminHome.tsx
+++ b/src/routes/AdminHome.tsx
@@ -12,9 +12,9 @@ export function AdminHome() {
Partypack Admin Management Panel
- TEMP
+ Welcome! Please select a management page you'd like to visit:
-
+
diff --git a/src/routes/Home.tsx b/src/routes/Home.tsx
index 4847a5f..cff96e8 100644
--- a/src/routes/Home.tsx
+++ b/src/routes/Home.tsx
@@ -14,7 +14,7 @@ export function Home() {
Partypack was created by everyone listed here. If you're interested in hosting your own instance of Partypack, be sure to check the GitHub repo.
Quickstart Guide
- Consider watching the easier to understand, visual guide available here.
+ Consider watching the easier to understand, visual guide available in the Discord server.
1. Join this instance's Discord server
2. Click on the icon in the top right
3. Log in using your Discord account