# Project: yan

**Preview URL:** https://yan.developunions.site  (public HTTPS via Caddy reverse proxy)

## Dev server rule (IMPORTANT)
This project is served through Caddy. ALWAYS run the dev server on:
- **Port:** 3013   (also stored in .dev-port)
- **Bind host:** 127.0.0.1

Framework examples:
- Vite:  npm run dev -- --port 3013 --host 127.0.0.1
         and in vite.config: server: { allowedHosts: ['.developunions.site'], hmr: { clientPort: 443 } }
- Next:  npx next dev -p 3013 -H 127.0.0.1
- CRA / PORT-env:  PORT=3013 HOST=127.0.0.1 npm start

When the server is stopped, the preview URL returns a "not running" message.
Start the server on port 3013 to make the preview live.

<!-- panel:start -->
## Project panel (board access)
This project has a column on the panel: https://panel.developunions.site
You can read/update THIS project's cards with the `panel` CLI (scoped token in
`.panel/token`, git-ignored, this project only). See `.panel/AGENT.md`.
Quick: `panel card list` · `panel card add "Title" --status todo` · `panel card move <id> doing` · `panel attach <id> file.png` · `panel note <id> "text"`
<!-- panel:end -->
