diff --git a/tavern/internal/www/.gitignore b/tavern/internal/www/.gitignore index 89967363f..1ec0246d1 100644 --- a/tavern/internal/www/.gitignore +++ b/tavern/internal/www/.gitignore @@ -18,3 +18,6 @@ npm-debug.log* yarn-debug.log* yarn-error.log* + +# Allow build files +!/build diff --git a/tavern/internal/www/http.go b/tavern/internal/www/http.go index d53c0899e..86215149a 100644 --- a/tavern/internal/www/http.go +++ b/tavern/internal/www/http.go @@ -15,9 +15,7 @@ type Handler struct { // Content embedded from the application's build directory, includes the latest build of the UI. // -//go:embed build/*.png build/*.html build/*.json build/*.txt build/*.ico -//go:embed build/static/* -//go:embed build/wasm/* +//go:embed build var Content embed.FS // ServeHTTP provides the Tavern UI, if the requested file does not exist it will serve index.html