From 2e512b4ae22eba95da05e1c8ef24fc2708caff06 Mon Sep 17 00:00:00 2001 From: Lewis Crichton Date: Sat, 18 Mar 2023 02:18:01 +0000 Subject: [PATCH] don't serve html anymore, just redirect to /cloud --- main.go | 2 +- static/index.html | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 static/index.html diff --git a/main.go b/main.go index 3f07f6c..36c9b38 100644 --- a/main.go +++ b/main.go @@ -277,7 +277,7 @@ func main() { // #endregion app.Get("/", func(c *fiber.Ctx) error { - return c.SendFile("static/index.html") + return c.Redirect("https://vencord.vendicated.dev/cloud", 307) }) app.Listen(HOST + ":" + PORT) diff --git a/static/index.html b/static/index.html deleted file mode 100644 index 7717a46..0000000 --- a/static/index.html +++ /dev/null @@ -1,11 +0,0 @@ -

Vencord API

-

- This is the API used by Vencord features like Settings Sync. If you are - wondering why requests are sent here, it's because you explicitly opted into - Settings Sync. You can disable it at any point! -

-

- But no worries, this api - takes your privacy serious and is - free and open source! -