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

11
astro.config.mjs Normal file
View File

@@ -0,0 +1,11 @@
// @ts-check
import { defineConfig } from 'astro/config';
import tailwindcss from '@tailwindcss/vite';
// https://astro.build/config
export default defineConfig({
vite: {
plugins: [tailwindcss()]
}
});