Skip to content

Commit

Permalink
try changing middlware preview port
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-piotrowicz committed Jan 17, 2025
1 parent e46cb75 commit c5163d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/middleware/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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,
},
});
2 changes: 1 addition & 1 deletion examples/middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit c5163d2

Please sign in to comment.