hiyaryan / the-cdj

The Cognitive Distortion Journal (CDJ) is a smart journaling tool that helps remedy distorted thinking. It can feel impossible to follow the CBT technique of labeling distorted thinking and finding alternative modes of thought (i.e. reframing) while cognitive distortions are occurring. The CDJ does that work for you. -- The CDJ is in beta testing!!
https://thecdj.app
3 stars 0 forks source link

Move urls into env variables. #47

Closed hiyaryan closed 8 months ago

hiyaryan commented 8 months ago

This PR uses .env to store urls. Previously, urls were hardcoded into the backend (CORS origin, Assistant, and forgot password) and frontend (backend API calls). This makes it easier to update the urls as necessary using env variables.