mazipan / tanyaaja.in

❓Kumpulkan pertanyaan secara anonim dari siapa saja dengan mudah
https://tanyaaja.in
MIT License
134 stars 36 forks source link

FEAT: add API Key to access some APIs #132

Open madjiebimaa opened 11 months ago

madjiebimaa commented 11 months ago

Closes #34

Description

Add the API key to the env variable, make sure the Server (by default can read) and Client can read that env variable, and create a middleware so that the function can run on specific or whole APIs (for initialization the function will be run on the /api/private/question/*).

Current Tasks

Asks

vercel[bot] commented 11 months ago

Someone is attempting to deploy a commit to a Personal Account owned by @mazipan on Vercel.

@mazipan first needs to authorize it.