Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tavern/internal/www/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Allow build files
!/build
4 changes: 1 addition & 3 deletions tavern/internal/www/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading