chore(config): configure CORS and update frontend URL in development settings

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)
This commit is contained in:
2026-01-03 16:16:24 +01:00
parent 9a55aa433c
commit 5f0aaacb74
2 changed files with 8 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
frontend_url: http://localhost:3000
frontend_url: http://localhost:5173
debug: true
application:
@@ -6,3 +6,8 @@ application:
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