Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider redaxios #88

Open
lil5 opened this issue Apr 22, 2024 · 1 comment
Open

Consider redaxios #88

lil5 opened this issue Apr 22, 2024 · 1 comment

Comments

@lil5
Copy link
Contributor

lil5 commented Apr 22, 2024

Please consider redaxios for sending api calls, setting the baseurl is much easier.

https://www.npmjs.com/package/redaxios

I noticed that the schema is hardcoded in, how do you test the client with it force set to https?

@balzack
Copy link
Owner

balzack commented Apr 22, 2024

Thanks for the link to redaxios; I think you're right and will provide a cleaner implementation.

I believe the browser app doesn't have the https hardcoded and should work with http (without federation)

For the next mobile app release I am planning on supporting http (when not federated). I vaguely remember some global app setting requiring https, that I was recommended to set, so I am not sure how successful I will be. I will take this opportunity to utilize redaxios.

To answer your testing question, beyond the unit testing, I mostly do manual testing in the simulator with a live server. Is there a better approach I should read up on?

Thanks for your interest in the project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants