In dev mode, keep the wildcard origin for local testing convenience. In production, skip CORS headers entirely since the web UI is server-rendered and cross-origin requests are not expected. |
||
|---|---|---|
| .. | ||
| middleware.go | ||
In dev mode, keep the wildcard origin for local testing convenience. In production, skip CORS headers entirely since the web UI is server-rendered and cross-origin requests are not expected. |
||
|---|---|---|
| .. | ||
| middleware.go | ||