Embed web/dist, run events in-process, manage brew PG18+pgvector, add PI host sidecar and launch --no-docker; unify MiniMax-M2.7-highspeed pins and record dev acceptance.
12 lines
358 B
Go
12 lines
358 B
Go
package web
|
|
|
|
import "embed"
|
|
|
|
// DistFS holds the production SPA build (npm run build + precompress).
|
|
// Build scripts must materialize web/dist before `go build`; the directory is
|
|
// gitignored. At runtime the server prefers an on-disk web/dist when present
|
|
// (dev Vite / hot reload) and falls back to this embed.
|
|
//
|
|
//go:embed all:dist
|
|
var DistFS embed.FS
|