optimistic-gold
optimistic-gold17mo ago

I need to add certificate to useCustom

I have a refine application. The url of backend include 443 port. Error: ERR_CERT_AUTHORITY_INVALID
3 Replies
fair-rose
fair-rose17mo ago
Hey @Michaelreda, I don't quite understand what you mean but you can override the dataProvider methods like here: https://refine.dev/docs/faq/#how-i-can-override-specific-function-of-data-providers And you can use metaData to send parameters to custom method of your dataProvider. You can find more information here: https://refine.dev/docs/tutorial/understanding-dataprovider/create-dataprovider/#metadata-usage
optimistic-gold
optimistic-gold17mo ago
useCustom want the url to get the data and the url of backend ends with :443
fair-rose
fair-rose17mo ago
As I said, you can override your own dataProvider's custom method according to expect of your backend.