Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENV.example and mfl code bypass in dev mode. (#8)
* fix: reading callback url from env * refacor: added fail option when evironment variables are missing * feat: reading environment vars from config file instead of .env * refactor: use hashmap instead of array of objects * fix: cors error for missing config requests * refactor: remove "mpesa" keyword from callback url * refactor: removed previously commented out stk push from utils.ts * refactor: removed console.log in callback route * refactor: removed mpesa configs from env.example and added a feature to bypass mfl check for dev instances * fix: reading callback url from env * refactor: remove "mpesa" keyword from callback url * refactor: removed console.log in callback route * refactor: removed mpesa configs from env.example and added a feature to bypass mfl check for dev instances * unique mfl for dev instances * removed files that should be ignored * fix: dev key --------- Co-authored-by: Amoh Prince <81857018+AmohPrince@users.noreply.github.com>
- Loading branch information