From c5163d2392ccae3248e93afa7c6de7f505e855d3 Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Fri, 17 Jan 2025 20:33:45 +0000 Subject: [PATCH] try changing middlware preview port --- examples/middleware/e2e/playwright.config.ts | 4 ++-- examples/middleware/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/middleware/e2e/playwright.config.ts b/examples/middleware/e2e/playwright.config.ts index d6d8499c..5e9621dd 100644 --- a/examples/middleware/e2e/playwright.config.ts +++ b/examples/middleware/e2e/playwright.config.ts @@ -20,7 +20,7 @@ export default defineConfig({ /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: { /* Base URL to use in actions like `await page.goto('/')`. */ - baseURL: "http://localhost:8774", + baseURL: "http://localhost:8775", /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ trace: "on-first-retry", @@ -47,7 +47,7 @@ export default defineConfig({ /* Run your local dev server before starting the tests */ webServer: { command: "pnpm preview:worker", - url: "http://localhost:8774", + url: "http://localhost:8775", reuseExistingServer: !process.env.CI, }, }); diff --git a/examples/middleware/package.json b/examples/middleware/package.json index e906c090..3e66c383 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -7,7 +7,7 @@ "start": "next start", "lint": "next lint", "build:worker": "pnpm opennextjs-cloudflare", - "dev:worker": "wrangler dev --port 8774 --inspector-port 9334", + "dev:worker": "wrangler dev --port 8775 --inspector-port 9334", "preview:worker": "pnpm build:worker && pnpm dev:worker", "e2e": "playwright test -c e2e/playwright.config.ts" },