Skip to content

Commit 8afacbd

Browse files
willnorrisalexelisenko
authored andcommitted
client/web: fix globbing for file embedding
src/**/* was only grabbing files in subdirectories, but not in the src directory itself. Updates tailscale/corp#13775 Signed-off-by: Will Norris <[email protected]> Signed-off-by: Alex Paguis <[email protected]>
1 parent bd94e85 commit 8afacbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/web/web.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import (
4242
// External packages that use the web client can `go mod vendor`, run `yarn build` to
4343
// build the assets, then those asset bundles will be able to be embedded.
4444
//
45-
//go:embed yarn.lock index.html *.js *.json src/**/*
45+
//go:embed yarn.lock index.html *.js *.json src/*
4646
var _ embed.FS
4747

4848
//go:embed web.html web.css auth-redirect.html

0 commit comments

Comments
 (0)