Skip to content

Commit 8e3f97f

Browse files
committed
fix: remove devmode
1 parent 5ffe7f1 commit 8e3f97f

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

pkg/api/pubsub.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,6 @@ func (s *Service) pubsubWsHandler(w http.ResponseWriter, r *http.Request) {
8989
return
9090
}
9191

92-
if s.beeMode == DevMode {
93-
logger.Warning("pubsub endpoint is disabled in dev mode")
94-
jsonhttp.BadRequest(w, errUnsupportedDevNodeOperation)
95-
return
96-
}
97-
9892
// Connect to broker peer
9993
ctx, cancel := context.WithCancel(context.Background())
10094
mode, err := s.pubsubSvc.Connect(ctx, underlay, topicAddr, pubsub.ModeGSOCEphemeral, connectOpts)

0 commit comments

Comments
 (0)