Julien-cpsn / ATAC

A simple API client (postman like) in your terminal
https://atac.julien-cpsn.com/
MIT License
2.02k stars 86 forks source link

Accept invalid certs config #99

Closed ficolas2 closed 3 months ago

ficolas2 commented 3 months ago

Closes https://github.com/Julien-cpsn/ATAC/issues/98

Added a config to allow for insecure certificates, disabled by default.

I had to use #[serde(default)] on the field, so that the serde parser didn't complain and crash when reading an older config, and instead, just puts false. Don't know if there is some other special way you prefer to do config migrations.

Julien-cpsn commented 3 months ago

Very simple and efficient PR, merging Thank you!