pearofducks / rollup-plugin-dev

development server for rollup with additional logging and options
MIT License
61 stars 9 forks source link

IPv4 support for API proxy #30

Closed Boscop closed 1 year ago

Boscop commented 1 year ago

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? :)

pearofducks commented 1 year ago

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