Repository navigation
Default travel planner frontend to Static Web App /api route - #450
Merged
Manvir Kaur (manvkaur) merged 3 commits intoNov 18, 2026
Merged
Conversation
Production builds now call the linked Static Web App backend at /api when VITE_API_URL is unset, while local development still defaults to http://localhost:7071/api. Update README instructions from REACT_APP_API_URL to VITE_API_URL. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Manvir Kaur (manvkaur)
marked this pull request as ready for review
November 18, 2026 06:00
greenie-msft
approved these changes
Nov 18, 2026
Manvir Kaur (manvkaur)
deleted the
manvkaur-fix-travel-planner-frontend-api-url
branch
November 18, 2026 21:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
/apiby default, while retaining the localhost default for development.VITE_API_URLand document the environment-specific defaults, local port alignment, and tested production-deployment workaround.Bicep reported
no-unnecessary-dependsonwarnings for all seven removed entries. Their dependencies are still inferred from module output references.Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
From the repository root:
Azure deployment validation of the Function App module passed for user-assigned and system-assigned identity configurations.
What to Check
Verify that the following are valid
/apiunless overridden withVITE_API_URL; development defaults tohttp://localhost:7071/api.VITE_API_URLand describes the tested production deployment workaround.Other Information
Public Azure verification, performed before the Bicep changes were added, confirmed the linked frontend/backend can start and poll an orchestration, accept approval, and display a simulated booking confirmation. Azure Monitor received 124 successful Foundry HTTP dependencies correlated with an explicitly supplied trace context. The updated Bicep was compiled and validated but was not deployed in that public test.
The initial
azd upfailed to discover the Static Web App by its service tag. SettingSWA_CLI_DEPLOY_ENV=productionbeforeazd deploy --allsuccessfully deployed the frontend to production; a completeazd upwith that setting was not verified.This is not a full end-to-end pass: #448's oversized-status fallback omits itinerary details from the approval screen, and the private plan blob cannot be read anonymously by the frontend (HTTP 409).