Skip to content

Commit c5163d2

Browse files
try changing middlware preview port
1 parent e46cb75 commit c5163d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/middleware/e2e/playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default defineConfig({
2020
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
2121
use: {
2222
/* Base URL to use in actions like `await page.goto('/')`. */
23-
baseURL: "http://localhost:8774",
23+
baseURL: "http://localhost:8775",
2424

2525
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
2626
trace: "on-first-retry",
@@ -47,7 +47,7 @@ export default defineConfig({
4747
/* Run your local dev server before starting the tests */
4848
webServer: {
4949
command: "pnpm preview:worker",
50-
url: "http://localhost:8774",
50+
url: "http://localhost:8775",
5151
reuseExistingServer: !process.env.CI,
5252
},
5353
});

examples/middleware/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"start": "next start",
88
"lint": "next lint",
99
"build:worker": "pnpm opennextjs-cloudflare",
10-
"dev:worker": "wrangler dev --port 8774 --inspector-port 9334",
10+
"dev:worker": "wrangler dev --port 8775 --inspector-port 9334",
1111
"preview:worker": "pnpm build:worker && pnpm dev:worker",
1212
"e2e": "playwright test -c e2e/playwright.config.ts"
1313
},

0 commit comments

Comments
 (0)