Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the application's deployment architecture to support an AWS-based deployment scheme. The changes separate frontend browser API calls from external workflow API calls by introducing different URL paths for each use case.
Changes:
- Frontend routes changed from
/api/to/be/for browser-initiated API calls - External workflow configuration URLs updated to use new AWS deployment domain with
/api/prefix - All frontend components updated to use new
/be/route paths
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| fe/app/routes.ts | Updated route definitions from /api/ to /be/ prefix for all API endpoints |
| fe/app/routes/examples/token-airdrop.tsx | Updated fetch calls to use /be/ prefix for airdrop endpoints |
| fe/app/routes/examples/compliant-token.tsx | Updated sync endpoint to use /be/ prefix |
| fe/app/hooks/useSpreadsheetData.ts | Updated allowlist fetch to use /be/ prefix |
| fe/app/config/cctp.ts | Updated relay status fetch to use /be/ prefix |
| examples/04-airdrop-erc20-token/workflows/token-airdrop-prover/config.json | Updated airdropBaseUrl to new AWS domain with /api/ prefix |
| examples/04-airdrop-erc20-token/workflows/token-airdrop-claimer/config.json | Updated airdropBaseUrl to new AWS domain with /api/ prefix |
| examples/01-cross-chain-relayer/cctp-detector/config.json | Updated mailboxUrl to new AWS domain with /api/ prefix |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
This pull request updates several configuration files and frontend routes to change API endpoint URLs from
/api/to/be/and updates backend service URLs in example configuration files. These changes help standardize endpoint naming and point to the correct backend services.Frontend API endpoint migration:
/api/to/be/to reflect the new backend endpoint naming convention. This includes endpoints for allowlist, sync, relay status, airdrop claim, and airdrop sync in files such asroutes.ts,useSpreadsheetData.ts,cctp.ts,compliant-token.tsx, andtoken-airdrop.tsx. [1] [2] [3] [4] [5] [6] [7]Backend service URL updates in configuration:
mailboxUrlincctp-detector/config.jsonand theairdropBaseUrlin bothtoken-airdrop-claimer/config.jsonandtoken-airdrop-prover/config.jsonto point to the newcre-examples.msldev.iobackend service instead of the oldcre.lunatic.boodomain. [1] [2] [3]