Skip to content

refactor: ♻️ Update to aws paths#22

Merged
timbrinded merged 1 commit intomasterfrom
refactor/msl-cre-config
Jan 15, 2026
Merged

refactor: ♻️ Update to aws paths#22
timbrinded merged 1 commit intomasterfrom
refactor/msl-cre-config

Conversation

@timbrinded
Copy link
Copy Markdown
Collaborator

@timbrinded timbrinded commented Jan 15, 2026

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:

  • Updated all frontend fetch calls and route registrations from /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 as routes.ts, useSpreadsheetData.ts, cctp.ts, compliant-token.tsx, and token-airdrop.tsx. [1] [2] [3] [4] [5] [6] [7]

Backend service URL updates in configuration:

  • Changed the mailboxUrl in cctp-detector/config.json and the airdropBaseUrl in both token-airdrop-claimer/config.json and token-airdrop-prover/config.json to point to the new cre-examples.msldev.io backend service instead of the old cre.lunatic.boo domain. [1] [2] [3]

Copilot AI review requested due to automatic review settings January 15, 2026 10:48
@timbrinded timbrinded changed the title update to aws deploy scheme refactor: ♻️ Update to aws paths Jan 15, 2026
@timbrinded timbrinded merged commit 5b3b95f into master Jan 15, 2026
13 checks passed
Copy link
Copy Markdown

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 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.

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