Skip to content

Commit 4a91711

Browse files
authored
feat(web): change web dev server port [internal] (#508)
feat: change web dev server port [internal]
1 parent b8b87df commit 4a91711

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ What happens:
8484
Notes:
8585
- You can get your `APIFY_TOKEN` from [Apify Console](https://console.apify.com/settings/integrations)
8686
- Widget discovery happens when the server connects. Changing widget code is hot-reloaded; adding brand-new widget filenames typically requires reconnecting the MCP client (or restarting the server) to expose the new resource.
87-
- You can preview widgets quickly via the local esbuild dev server at `http://localhost:3000/index.html`.
87+
- You can preview widgets quickly via the local esbuild dev server at `http://localhost:3226/index.html`.
8888

8989
The MCP server listens on port `3001`. The HTTP server implementation used here is the standby Actor server in `src/actor/server.ts` (used by `src/main.ts` in STANDBY mode). The hosted production server behind [mcp.apify.com](https://mcp.apify.com) is located in the internal Apify repository.
9090

src/web/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ async function buildAll() {
118118

119119
const { host, port } = await ctx.serve({
120120
servedir: dirName,
121-
port: 3000,
121+
port: 3226,
122122
});
123123

124124
console.log(`\n✓ Dev server running at http://${host}:${port}/`);

0 commit comments

Comments
 (0)