pearofducks / rollup-plugin-dev

development server for rollup with additional logging and options

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IPv4 support for API proxy

Boscop opened this issue · comments

I switched from trunk to rollup and at first I wondered why my API proxy wasn't working.
Then I noticed:
For trunk, it only worked when my backend listened to 0.0.0.0:9000 but for rollup with this plugin it only works with IPv6 ([::]:9000).
Would it be possible to allow IPv4, too? :)

IPv4 is supported, you might need to specify a host.