Sitelet https://github.com/moedash/cli/pull/4/files
Skip to content
Closed
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
9 changes: 9 additions & 0 deletions internal/devserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import (
uiserveroptions "github.com/temporalio/ui-server/v2/server/server_options"
"go.temporal.io/api/enums/v1"
"go.temporal.io/server/chasm/lib/activity"
chasmcallback "go.temporal.io/server/chasm/lib/callback"
"go.temporal.io/server/common/authorization"
"go.temporal.io/server/common/cluster"
"go.temporal.io/server/common/config"
Expand Down Expand Up @@ -250,6 +251,14 @@ func (s *StartOptions) buildServerOptions() ([]temporal.ServerOption, *slog.Leve
dynConf[activity.EnableStandaloneActivityOperatorCommands.Key()] = true
dynConf[dynamicconfig.FrontendEnableBatchOperationsForStandaloneActivities.Key()] = true

// The server calls no callback address until one is allowed. A local
// receiver is the usual target of a notification channel's callback on
// a dev server, and it rarely serves TLS.
dynConf[chasmcallback.AllowedAddresses.Key()] = []any{
map[string]any{"Pattern": "127.0.0.1:*", "AllowInsecure": true},
map[string]any{"Pattern": "localhost:*", "AllowInsecure": true},
}

// Dynamic config if set
for k, v := range s.DynamicConfigValues {
dynConf[dynamicconfig.MakeKey(k)] = v
Expand Down
Loading
Loading