phovea / generator-phovea

Yeoman Generator for Phovea
https://www.npmjs.com/package/generator-phovea
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Fixed devServer proxy order #506

Closed puehringer closed 2 years ago

puehringer commented 2 years ago

A previous PR change the order of custom proxies to the top to prefer any /api/v1 before /api/*. But as it should still override /api/*, we need to append it on the bottom as well.

dvchristianbors commented 2 years ago

I also tested this with a new workspace setup for our ordino_reprovisyn product and setup worked out of the box (I added a PR https://github.com/datavisyn/ordino_reprovisyn_product/pull/6 to actually have our api/v1/* route available in a .yo-rc-workspace.json file)