Skip to content

HAMUR_W1228: The dev server refuses a host that devServer.allowedHosts does not list

The dev server refuses a host that devServer.allowedHosts does not list. Warning HAMUR_W1228 belongs to hamur, scan, build and dev (1001 – 1999).

Message

text
HAMUR_W1228 Blocked request. This host ("<host>") is not allowed. Add it to devServer.allowedHosts in hamur.config.ts

Cause

The dev server answered 403 for a request whose host is not in devServer.allowedHosts.

Fix

Add the host to devServer.allowedHosts in hamur.config.ts.