Set up CORS policy to allow requests from frontend development server and update development.yaml with proper frontend origin URL configuration. Ref: T011 (specs/001-modbus-relay-control)
14 lines
229 B
YAML
14 lines
229 B
YAML
frontend_url: http://localhost:5173
|
|
debug: true
|
|
|
|
application:
|
|
protocol: http
|
|
host: 127.0.0.1
|
|
base_url: http://127.0.0.1:3100
|
|
name: "sta-dev"
|
|
|
|
cors:
|
|
allowed_origins: ["*"]
|
|
allow_credentials: false
|
|
max_age_secs: 3600
|