Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
allowedDevOrigins: ['192.168.100.102'],
// Allow a LAN device (e.g. a phone) to reach the dev server for on-device
// testing: set NEXT_DEV_ORIGIN to your machine's LAN IP before `npm run dev`.
allowedDevOrigins: process.env.NEXT_DEV_ORIGIN ? [process.env.NEXT_DEV_ORIGIN] : [],
output: 'export',
basePath: process.env.NEXT_PUBLIC_BASE_PATH || '',
trailingSlash: true,
Expand Down
2 changes: 2 additions & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ export default defineConfig({
testDir: './tests/e2e',
outputDir: './playwright-results',
reporter: [['html', { outputFolder: 'playwright-report', open: 'never' }]],
// Retry timing-only failures (hydration, cold-compile) not real ones.
retries: process.env.CI ? 2 : 0,
use: {
baseURL: `http://localhost:${port}`,
trace: 'on-first-retry',
Expand Down
Loading