Skip to content

Conversation

@mishraomp
Copy link
Collaborator

@mishraomp mishraomp commented Jan 12, 2026


Thanks for the PR!

Any successful deployments (not always required) will be available below.
API available
Frontend available

Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow

Copilot AI review requested due to automatic review settings January 12, 2026 05:11
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request renames the runtime configuration endpoint from /config.js to /env.js to better reflect that it handles environment variables. The changes ensure that the environment configuration (including PowerBI URL) is properly injected into the built HTML and served by Caddy.

Changes:

  • Added a custom Vite plugin to inject the /env.js script tag into the HTML head during build
  • Renamed the Caddy endpoint from /config.js to /env.js with updated header syntax
  • Updated the SPA router configuration to exclude /env.js from redirects
  • Applied code formatting improvements (quote style consistency and trailing commas)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
frontend/vite.config.js Added build-html plugin to inject env.js script tag and updated formatting to use double quotes
frontend/Caddyfile Renamed config endpoint from /config.js to /env.js and updated SPA router exclusions

@mishraomp mishraomp merged commit 4eee62d into main Jan 12, 2026
12 checks passed
@mishraomp mishraomp deleted the fix/powerbi branch January 12, 2026 05:26
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.

2 participants