allen-cell-animated / volume-viewer

https://allen-cell-animated.github.io/volume-viewer/
Other
90 stars 7 forks source link

"Invalid host header" problem when connecting to VolumeViewer #214

Open JohnGrime opened 2 months ago

JohnGrime commented 2 months ago

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 line allowedHosts: "all" to the devServerentry in this file or using the firewall option.

Environment

Ubuntu 20.04 VolumeViewer 3.8.3 npm 10.7.0 node 22.1.0