mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
ci: enable gocognit (#9359)
And, bring the server under 300: * Removed the undocumented "disable" STUN address in favor of the --disable-direct flag.
This commit is contained in:
@ -184,8 +184,6 @@ type Options struct {
|
||||
// @in header
|
||||
// @name Coder-Session-Token
|
||||
// New constructs a Coder API handler.
|
||||
//
|
||||
//nolint:gocyclo
|
||||
func New(options *Options) *API {
|
||||
if options == nil {
|
||||
options = &Options{}
|
||||
|
Reference in New Issue
Block a user