Skip to content

fix(cmms): allow canonical Atlas browser runtime#194

Merged
Mikecranesync merged 1 commit into
mainfrom
fix/atlas-synthetic-cmms
Jun 27, 2026
Merged

fix(cmms): allow canonical Atlas browser runtime#194
Mikecranesync merged 1 commit into
mainfrom
fix/atlas-synthetic-cmms

Conversation

@Mikecranesync

Copy link
Copy Markdown
Owner

Summary

  • add configurable Atlas CORS origin resolution with comma-separated origins
  • stop the CMMS frontend compose runtime from hardcoding the old public IP and allow deploy env to provide the canonical API URL
  • inject MUI_X_LICENSE through compose and only call LicenseInfo.setLicenseKey when a non-blank key is present
  • preserve local compose defaults while also allowing the canonical https://cmms.factorylm.com browser origin

Fixes #193
Addresses #192

Verification

  • docker compose -f apps/cmms/docker-compose.yml config renders local defaults: PUBLIC_API_URL=http://localhost:8082, API_URL=http://localhost:8082, CORS_ALLOWED_ORIGINS=http://localhost:3003,https://cmms.factorylm.com
  • PUBLIC_FRONT_URL=https://cmms.factorylm.com PUBLIC_API_URL=https://cmms.factorylm.com CORS_ALLOWED_ORIGINS=https://cmms.factorylm.com,https://app.factorylm.com MUI_X_LICENSE=redacted docker compose -f apps/cmms/docker-compose.yml config renders production-like canonical values
  • git diff --check HEAD~1..HEAD

Not run locally

  • Maven/JUnit: local machine has no usable Java/Maven runtime
  • Frontend install/build: npm ci hit ENOSPC in this Codex workspace

Review

  • Subagent review found one compose local-default regression; fixed in commit e693400 and reviewer confirmed resolved.

@Mikecranesync Mikecranesync merged commit 1eae817 into main Jun 27, 2026
1 check passed
@Mikecranesync Mikecranesync deleted the fix/atlas-synthetic-cmms branch June 27, 2026 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

P2(cmms): Production Atlas data grids show MUI X invalid license watermark

1 participant