codelitdev / medialit

Upload, process and optimise your media files on a AWS S3 compatible storage
https://medialit.cloud
GNU Affero General Public License v3.0
5 stars 3 forks source link

New endpoint: /config #122

Open rajat1saxena opened 3 months ago

rajat1saxena commented 3 months ago

This endpoint will be responsible for getting all the dynamica public facing settings for the app. This will help us from not hardcoding keys like PostHog key, Crisp key etc., in our app.

For inspiration, take reference from Weblit https://[app.weblit.pro/config](https://app.weblit.pro/config)

Endpoint specs

HTTP Method

GET

Response

{"posthog": "phc_remaining_key", "crisp": "eed-ddf-fdf-0ee"}
rajat1saxena commented 2 months ago

@RaviRajput10 The /config endpoint is getting hit in a loop, which eventually crashed the app. Please look into this on priority.