client/web: set Server.cgiMode field

Updates tailscale/corp#15373

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
Co-authored-by: Will Norris <will@tailscale.com>
This commit is contained in:
Sonia Appasamy 2023-10-23 15:04:49 -04:00 committed by Sonia Appasamy
parent 17b2072b72
commit 62d08d26b6

View File

@ -146,6 +146,7 @@ func NewServer(opts ServerOpts) (s *Server, cleanup func()) {
s = &Server{
devMode: opts.DevMode,
lc: opts.LocalClient,
cgiMode: opts.CGIMode,
pathPrefix: opts.PathPrefix,
timeNow: opts.TimeNow,
}