Fix dev script to use 127.0.0.1

This commit is contained in:
Nikita Karamov 2023-03-26 16:18:40 +02:00
parent b556e7f12d
commit 454694447c
No known key found for this signature in database
GPG key ID: 41D6F71EE78E77CD

View file

@ -13,11 +13,10 @@
"type": "module",
"scripts": {
"build": "astro build",
"dev": "astro dev",
"dev": "astro dev --host 127.0.0.1",
"fmt": "prettier --write --plugin-search-dir=. .",
"lint": "prettier --check . && eslint . && stylelint '**/*.scss' && tsc",
"preview": "astro preview",
"start": "astro dev",
"test": "pnpm run lint"
},
"browserslist": "cover 95%, last 2 versions, Firefox ESR, not dead",