Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
smecsia committed Sep 21, 2024
1 parent d4c6b6d commit b320644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func New(ctx context.Context, opts ...Option) (Service, error) {
opts = append([]Option{WithRequestDebugMode()}, opts...)
}

if os.Getenv("LOCAL_DEBUG") != "" {
if os.Getenv("LOCAL_DEBUG") == "true" {
opts = append([]Option{WithLocalDebugMode()}, opts...)
}
if os.Getenv("PORT") != "" {
Expand Down

0 comments on commit b320644

Please sign in to comment.