feat(webui): statically embed js/css assets (#2348)

* feat(webui): statically embed js/css assets

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* update font assets

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-05-19 18:24:27 +02:00 committed by GitHub
parent 5a3db730b9
commit 8ccd5ab040
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
51 changed files with 20497 additions and 11 deletions

View file

@ -786,3 +786,7 @@ docker-image-intel-xpu:
.PHONY: swagger
swagger:
swag init -g core/http/app.go --output swagger
.PHONY: gen-assets
gen-assets:
$(GOCMD) run core/dependencies_manager/manager.go embedded/webui_static.yaml core/http/static/assets