Skip to content

fix: ship OKNOK production dashboard profile - #6

Merged
metehankurucu merged 1 commit into
mainfrom
fix/oknok-production-env
Sep 13, 2026
Merged

metehankurucu merged 1 commit into
mainfrom
fix/oknok-production-env

Conversation

@metehankurucu

Copy link
Copy Markdown
Member

Summary

  • add a tracked public .env.production profile for the OK or NOK? Cloudflare deployment
  • keep deployment-level VITE variables able to override the profile when this repo is reused
  • pin the production API URL, dashboard identity, favicon, and accessible light palette
  • add a regression test that loads the production Vite environment

Why

The first production build succeeded but rendered the neutral fallback title because Cloudflare had no VITE_DASHBOARD branding variables. This profile makes the connected production build deterministic without storing secrets.

Verification

  • ESLint: passing
  • TypeScript: passing
  • Vitest: 10 files and 73 tests passing
  • production build: passing
  • generated bundle contains the OK or NOK? title, production API URL, and primary color

Posted by Codex's agent.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 13, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
oknok-dashboard 2434886 Commit Preview URL

Branch Preview URL
Sep 13 2026, 06:51 PM

@metehankurucu
metehankurucu marked this pull request as ready for review September 13, 2026 18:51
@metehankurucu
metehankurucu merged commit d1be44e into main Sep 13, 2026
3 checks passed
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.

1 participant