don't serve html anymore, just redirect to /cloud
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
<h1>Vencord API</h1>
|
||||
<p>
|
||||
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!
|
||||
</p>
|
||||
<p>
|
||||
But no worries, this api
|
||||
<a href="/basic-privacy-policy">takes your privacy serious</a> and is
|
||||
<a href="https://github.com/Vencord/Backend">free and open source!</a>
|
||||
</p>
|
||||
Reference in New Issue
Block a user