When running VolumeViewer via npm run dev, a connecting client browser displays the message "invalid host header".
This appears to be due to the security settings in the webpack.dev.js file; this can likely be remedied by adding the line allowedHosts: "all" to the devServerentry in this file or using the firewall option.
Description
When running VolumeViewer via
npm run dev
, a connecting client browser displays the message "invalid host header".This appears to be due to the security settings in the
webpack.dev.js
file; this can likely be remedied by adding the lineallowedHosts: "all"
to thedevServer
entry in this file or using thefirewall
option.Environment
Ubuntu 20.04 VolumeViewer 3.8.3 npm 10.7.0 node 22.1.0