From 435e80165db792386c8dc7b636fcf983091e8dd7 Mon Sep 17 00:00:00 2001 From: dvelo <52332868+DeveloLongScript@users.noreply.github.com> Date: Wed, 7 Aug 2024 21:15:13 -0500 Subject: [PATCH] rele: 0.7.2 --- README.md | 1 - src/components/AfterServerView.tsx | 39 ++++---- src/components/Banner.tsx | 24 +++-- src/pages/api/inngest.ts | 124 -------------------------- src/pages/api/v1/cron/data-cleanup.ts | 44 +++++++++ src/pages/api/v1/cron/periodic-st.ts | 74 +++++++++++++++ src/version.tsx | 13 ++- vercel.json | 9 ++ 8 files changed, 180 insertions(+), 148 deletions(-) delete mode 100644 src/pages/api/inngest.ts create mode 100644 src/pages/api/v1/cron/data-cleanup.ts create mode 100644 src/pages/api/v1/cron/periodic-st.ts create mode 100644 vercel.json diff --git a/README.md b/README.md index 3b484ce..a1c2835 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,6 @@ First, you must supply the following services with API keys: - [Clerk](https://clerk.com): Create an app and put the respective keys in `.env.local` - MongoDB: Create a database, can be anywhere, and put the location to connect in `.env.local` for the key `MONGO_DB` (this isn't required by any means, but if you want to store any short term or historical data, use this.) -- Inngest: Inngest is a smaller library, but runs the `cron` jobs which will make servers automaticly get added to the database. _This project uses `yarn` as the main package manager. If `package-lock.json` is present, your pull request will get denied._ Second, run `yarn` and `yarn build`. To start the app, run `yarn start`. diff --git a/src/components/AfterServerView.tsx b/src/components/AfterServerView.tsx index 9031e3b..ec1d322 100644 --- a/src/components/AfterServerView.tsx +++ b/src/components/AfterServerView.tsx @@ -21,25 +21,30 @@ export default function AfterServerView({ server }: { server: string }) { return (
- - - {description} - - - - - Discord Server + {description != "" && ( + -