mhsf-dev/packages/backend-mh-api
2025-04-21 23:51:22 -05:00
..
src feat: move to monorepo and update copyright 2025-02-13 21:41:10 -06:00
.gitignore feat: move to monorepo and update copyright 2025-02-13 21:41:10 -06:00
package.json feat: move to monorepo and update copyright 2025-02-13 21:41:10 -06:00
README.md feat: move to monorepo and update copyright 2025-02-13 21:41:10 -06:00
tsconfig.json feat: move to monorepo and update copyright 2025-02-13 21:41:10 -06:00

MHSF Backend API

This has only one function, which is to get the server list from Minehut's API, but locally so it doesn't get blocked by Cloudflare.

To set it up, there is only one API key:

# Make a secret token to put in here
MHSF_SECRET="..."

And make sure its also set up in the Next.js server:

# MHSF Backend API
MHSF_BACKEND_API_LOCATION="http://..."
MHSF_BACKEND_SECRET="..."

You shouldn't ever really need this unless your server is blocked by Cloudflare.