fix: add host 0.0.0.0 for local dev accessibility

This commit is contained in:
2026-04-22 07:58:03 +07:00
parent c38cc4ae26
commit 5033281eab
4 changed files with 6 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ Astro 6.1.7 + Tina CMS starter template with Tailwind CSS 4.x
# Install dependencies
npm install
# Start development
# Start development (accessible at http://0.0.0.0:4321)
npm run dev
# Build for production

View File

@@ -33,6 +33,7 @@ export default defineConfig({
assets: '_assets',
},
server: {
host: '0.0.0.0',
port: 4321,
},
})