From 117a5e83144f39235383792b839768c3ec480305 Mon Sep 17 00:00:00 2001 From: spypsy Date: Tue, 12 Dec 2023 15:12:44 +0000 Subject: [PATCH] fix: sandbox node mode api prefix (#3662) Please provide a paragraph or two giving a summary of the change, including relevant motivation and context. # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [ ] Every change is related to the PR description. - [ ] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist). Co-authored-by: PhilWindle <60546371+PhilWindle@users.noreply.github.com> --- yarn-project/aztec-sandbox/src/bin/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn-project/aztec-sandbox/src/bin/index.ts b/yarn-project/aztec-sandbox/src/bin/index.ts index 72a9413454d..95ce182ff8a 100644 --- a/yarn-project/aztec-sandbox/src/bin/index.ts +++ b/yarn-project/aztec-sandbox/src/bin/index.ts @@ -160,7 +160,7 @@ async function main() { const port = process.env.AZTEC_NODE_PORT || 8080; // Use standard 8080 when no PXE is running const nodeRpcServer = createAztecNodeRpcServer(node); - const app = nodeRpcServer.getApp(); + const app = nodeRpcServer.getApp(API_PREFIX); // Add a /status endpoint const statusRouter = createStatusRouter(API_PREFIX);