Skip to content

Commit

Permalink
chore: use 3100 for preview port to avoid referring Service Workers
Browse files Browse the repository at this point in the history
  • Loading branch information
SegaraRai committed Jun 30, 2024
1 parent 97d9216 commit 712567d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pnpm run build
pnpm run preview
```

`http://localhost:3000` でプレビューできます
`http://localhost:3100` でプレビューできます

### デプロイ

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "serve .output/public",
"preview": "serve -p 3100 .output/public",
"postinstall": "nuxt prepare",
"lint": "eslint && prettier -c .",
"test": "vitest",
Expand Down

0 comments on commit 712567d

Please sign in to comment.