Steps to reproduce:
- Run
kfl init and set up your Keyflare instance. This will create a BASE URL and USER KEY in ~/.config/keyflare
- Delete the worker and d1 db in Cloudflare
- Try to run
kfl projects create myproject
Result:
kfl projects create myproject
✗ Unexpected token '<', "<!DOCTYPE "... is not valid JSON
Expected Result:
- Show a nicer - corresponding error if the CF Worker is not accessible (network error or possibly deleted instance?)
- Ensure that a nicer error is also shown when there is no BASE URL or USER KEY defined at all on the client.
Steps to reproduce:
kfl initand set up your Keyflare instance. This will create a BASE URL and USER KEY in~/.config/keyflarekfl projects create myprojectResult:
Expected Result: