You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've made a proxy with CloudFlare workers to hide my exact IP address. I want to be able to use it with amaribot.js, but amaribot.js only uses the regular fetch API, which doesn't go through the proxy.
I would like to be able to replace the fetch module within amaribot.js as a config option upon initiating the client with one of my own methods or functions, such as this one:
The function has the exact same syntax as the built-in fetch API, but requests through my cloudflare workers proxy. It returns the data in the exact same format. I want to be able to replace the fetch api within amaribot.js with my own function (it can do anything, it just needs to accept and return similar values as the fetch api would). The function above is just an example input.
The text was updated successfully, but these errors were encountered:
I've made a proxy with CloudFlare workers to hide my exact IP address. I want to be able to use it with amaribot.js, but amaribot.js only uses the regular fetch API, which doesn't go through the proxy.
I would like to be able to replace the fetch module within amaribot.js as a config option upon initiating the client with one of my own methods or functions, such as this one:
The function has the exact same syntax as the built-in fetch API, but requests through my cloudflare workers proxy. It returns the data in the exact same format. I want to be able to replace the fetch api within amaribot.js with my own function (it can do anything, it just needs to accept and return similar values as the fetch api would). The function above is just an example input.
The text was updated successfully, but these errors were encountered: