AllenCell / AllenCell/vole-core
"Invalid host header" problem when connecting to VolumeViewer
Offen
- Vorherrschende Sprache
- TypeScript
- Sterne
- 106
- Forks
- 11
- Ø Merge
- 3 T. 51 Min.
- Gemergte PRs (30 T.)
- 12
Beschreibung
## 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 `devServer `entry in this file or using the [`firewall`](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#firewall) option.
## Environment
Ubuntu 20.04
VolumeViewer 3.8.3
npm 10.7.0
node 22.1.0
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.