diff --git a/skills/website-creator/SKILL.md b/skills/website-creator/SKILL.md index 3456a10..044e8bd 100644 --- a/skills/website-creator/SKILL.md +++ b/skills/website-creator/SKILL.md @@ -241,8 +241,8 @@ bash skills/website-creator/scripts/new-project.sh my-website /path/to/projects/ 6. Initialize git **เปิด browser:** -- Frontend: http://localhost:4321 -- Tina Admin: http://localhost:4321/admin (dev mode) +- Frontend: http://localhost:4321 หรือ http://0.0.0.0:4321 +- Tina Admin: http://localhost:4321/admin หรือ http://0.0.0.0:4321/admin (dev mode) --- @@ -791,7 +791,7 @@ const { Content } = await post.render(); npm run dev ``` -Tina จะ available ที่ `http://localhost:4321/admin` +Tina จะ available ที่ `http://localhost:4321/admin` หรือ `http://0.0.0.0:4321/admin` ### Production Setup diff --git a/skills/website-creator/scripts/new-project.sh b/skills/website-creator/scripts/new-project.sh index ccf0d5d..8bf8ff8 100755 --- a/skills/website-creator/scripts/new-project.sh +++ b/skills/website-creator/scripts/new-project.sh @@ -199,7 +199,7 @@ main() { echo "Next steps:" echo " 1. cd $PROJECT_PATH" echo " 2. npm run dev" - echo " 3. Open http://localhost:4321" + echo " 3. Open http://localhost:4321 or http://0.0.0.0:4321" echo "" echo "For Tina CMS admin:" echo " - npm run dev" diff --git a/skills/website-creator/templates/astro-tina-starter/README.md b/skills/website-creator/templates/astro-tina-starter/README.md index ba38f70..79988f4 100644 --- a/skills/website-creator/templates/astro-tina-starter/README.md +++ b/skills/website-creator/templates/astro-tina-starter/README.md @@ -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 diff --git a/skills/website-creator/templates/astro-tina-starter/astro.config.mjs b/skills/website-creator/templates/astro-tina-starter/astro.config.mjs index 6c03f5b..c71a507 100644 --- a/skills/website-creator/templates/astro-tina-starter/astro.config.mjs +++ b/skills/website-creator/templates/astro-tina-starter/astro.config.mjs @@ -33,6 +33,7 @@ export default defineConfig({ assets: '_assets', }, server: { + host: '0.0.0.0', port: 4321, }, }) \ No newline at end of file