diff --git a/cmd/flamenco-manager/main.go b/cmd/flamenco-manager/main.go index bb09279a..6b90963f 100644 --- a/cmd/flamenco-manager/main.go +++ b/cmd/flamenco-manager/main.go @@ -303,6 +303,9 @@ func buildWebService( return c.Redirect(http.StatusTemporaryRedirect, "/app/") }) + // Serve the Blender add-on. It's contained in the static files of the webapp. + e.GET("/flamenco-addon.zip", echo.WrapHandler(webAppHandler)) + // Redirect / to the webapp. e.GET("/", func(c echo.Context) error { return c.Redirect(http.StatusTemporaryRedirect, "/app/") diff --git a/web/app/src/App.vue b/web/app/src/App.vue index e993fdaf..8d0dc867 100644 --- a/web/app/src/App.vue +++ b/web/app/src/App.vue @@ -17,6 +17,7 @@ version: {{ flamencoVersion }} + | API