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 <will@tailscale.com>
pull/9004/head
Will Norris 10 months ago committed by Will Norris
parent 000c0a70f6
commit 5ebff95a4c

@ -42,7 +42,7 @@ import (
// External packages that use the web client can `go mod vendor`, run `yarn build` to
// build the assets, then those asset bundles will be able to be embedded.
//
//go:embed yarn.lock index.html *.js *.json src/**/*
//go:embed yarn.lock index.html *.js *.json src/*
var _ embed.FS
//go:embed web.html web.css auth-redirect.html

Loading…
Cancel
Save