reflare icon indicating copy to clipboard operation
reflare copied to clipboard

[Feature Request] Support for ExpressJs

Open viperadnan-git opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe. As we know, Cloudflare provides only 100K requests/month, i oftenly exceed the limit so i decided to rent a server and host on it.

Describe the solution you'd like It will be very useful if it can work with expressjs or nodejs http sever. So i can't figure out how i can use it via expressjs and if it can't be used via express please add expressjs support.

Describe alternatives you've considered Making a seperate module like expreesProxy for expressjs.

viperadnan-git avatar Jan 09 '22 19:01 viperadnan-git

Thank you for your suggestion! I will add this module in the future. Currently I would recommend you to try this package: https://github.com/chimurai/http-proxy-middleware

xiaoyang-sde avatar Jan 09 '22 23:01 xiaoyang-sde

Hey, I check out the npm package you suggested (http-proxy-middleware) but it doesn't seems to be useful at all, did you have any other suggestion ?

viperadnan-git avatar Mar 28 '22 19:03 viperadnan-git

You could use miniflare to simulate a cloudflare workers environment.

aynh avatar Jun 24 '22 11:06 aynh