We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e884a2 commit 058d0ccCopy full SHA for 058d0cc
bullet/bullet/settings.py
@@ -218,6 +218,11 @@ def silky_intercept(request):
218
219
if DEBUG:
220
SILENCED_SYSTEM_CHECKS = ["django_recaptcha.recaptcha_test_key_error"]
221
+
222
+ import socket
223
224
+ hostname, _, ips = socket.gethostbyname_ex(socket.gethostname())
225
+ INTERNAL_IPS = [ip[: ip.rfind(".")] + ".1" for ip in ips] + ["127.0.0.1"]
226
else:
227
SESSION_COOKIE_DOMAIN = env("PARENT_HOST", default="naboj.org")
228
SESSION_COOKIE_SECURE = True
0 commit comments