Security Update #10

Merged
tygrdev merged 2 commits from security into main 2022-05-27 00:46:39 +02:00
Owner
  • Move all database query's to server side API.

This is so we can hide all API keys including the anon key. This also prevents users from modifying the request before it is sent to the server.

  • Move the avatar, banner and cutie field to the /api/users/<id> route.

Lower payload size.

- [x] Move all database query's to server side API. > This is so we can hide **all** API keys including the anon key. This also prevents users from modifying the request before it is sent to the server. - [x] Move the `avatar`, `banner` and `cutie` field to the `/api/users/<id>` route. > Lower payload size.
vercel[bot] commented 2022-05-27 00:43:40 +02:00 (Migrated from github.com)

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
tygr-dev Ready (Inspect) Visit Preview May 26, 2022 at 10:43PM (UTC)
**The latest updates on your projects**. Learn more about [Vercel for Git ↗︎](https://vercel.link/github-learn-more) | Name | Status | Preview | Updated | | :--- | :----- | :------ | :------ | | **tygr-dev** | ✅ Ready ([Inspect](https://vercel.com/tygerxqt/tygr-dev/3qgd3oyXDkj37UnRpo5PyFHeQrdc)) | [Visit Preview](https://tygr-dev-git-security-tygerxqt.vercel.app) | May 26, 2022 at 10:43PM (UTC) |
Commenting is not possible because the repository is archived.
No description provided.