fix: Use only dist folder (contains public assets)

- Astro build automatically copies public/ to dist/
- Remove separate public folder copy (not needed)
- Use PORT environment variable (default 80)
- Fix favicon 404 by using correct dist structure
This commit is contained in:
Kunthawat Greethong
2026-03-03 13:44:24 +07:00
parent a588155c7d
commit b2960ca105
10379 changed files with 4008 additions and 1518553 deletions

40
.gitignore vendored
View File

@@ -1,39 +1 @@
# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz
# testing
/coverage
# next.js
/.next/
/out/
# production
/build
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# local env files
.env*.local
.env
# vercel
.vercel
# typescript
*.tsbuildinfo
next-env.d.ts
# IDE
.idea/
.vscode/
.node-version