diff --git a/.gitignore b/.gitignore index 632e180..f6a427b 100644 --- a/.gitignore +++ b/.gitignore @@ -23,8 +23,9 @@ data/ # Docker local prebuilt .docker-bin/ -# Frontend build output -web/dist/ +# Frontend build output (keep placeholder for go:embed in CI / go test) +web/dist/* +!web/dist/index.html web/node_modules/ # Environment diff --git a/web/dist/index.html b/web/dist/index.html new file mode 100644 index 0000000..4eb0b88 --- /dev/null +++ b/web/dist/index.html @@ -0,0 +1,11 @@ + + + + + + Luminary AI Gateway + + +

UI not built. Run: make build-web

+ + diff --git a/web/static_embed.go b/web/static_embed.go index e64bd0a..d7dd86e 100644 --- a/web/static_embed.go +++ b/web/static_embed.go @@ -2,5 +2,7 @@ package webembed import "embed" +// Placeholder dist/index.html is committed for CI and go test; production UI comes from npm run build. +// //go:embed all:dist var WebFS embed.FS