masoodafar-web 1ef5edf939
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 14m30s
fix: add blazor-environment header to nginx for staging config
BackOffice WASM app defaulted to Production environment because
nginx didn't set the blazor-environment response header. This caused
the app to load appsettings.Production.json (GwUrl=https://cms.kbs1.ir)
instead of appsettings.Staging.json (GwUrl=https://cms.se.kbs1.ir),
resulting in 401 gRPC errors on the login page.

- Add docker-entrypoint.sh that generates nginx config with blazor-environment header
- Default BLAZOR_ENVIRONMENT=Staging (configurable via K8s env var)
- This ensures the WASM app loads the correct staging configuration
2026-03-15 00:19:04 +03:30
2025-11-19 23:54:40 +03:30
S
Description
No description provided
3.9 MiB
Languages
HTML 61.3%
C# 36.1%
JavaScript 1.5%
CSS 0.8%
Shell 0.2%