Skip to content

Commit 92cfd98

Browse files
author
gau1991
committed
Fixed the condition if debug ip address not defined then set it to 0.0.0.0/0
1 parent d4d02dd commit 92cfd98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ee/cli/plugins/debug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def debug_nginx(self):
8686
debug_address = ['0.0.0.0/0']
8787

8888
# Check if IP address is 127.0.0.1 then enable debug globally
89-
if debug_address == ['127.0.0.1']:
89+
if debug_address == ['127.0.0.1'] or debug_address == []:
9090
debug_address = ['0.0.0.0/0']
9191

9292
for ip_addr in debug_address:

0 commit comments

Comments
 (0)