AllenCell / AllenCell/vole-core

"Invalid host header" problem when connecting to VolumeViewer

Aperta
#214 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
106
Fork
11
Merge medio
3g 51m
PR unite (30g)
12

Descrizione

## 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.