From 81682c7a28860d7c9df5c2d5f586d0c6b805c8b7 Mon Sep 17 00:00:00 2001 From: gooseman <16601315+geese-suck@users.noreply.github.com> Date: Sun, 20 Nov 2022 16:41:45 -0800 Subject: [PATCH] mdns chads cant stop winning --- files/helpers/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/const.py b/files/helpers/const.py index 3ee1f3ce9..caf56c865 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -58,7 +58,7 @@ DEFAULT_RATELIMIT_USER = DEFAULT_RATELIMIT_SLOWER PUSHER_LIMIT = 1000 # API allows 10 KB but better safe than sorry -IS_LOCALHOST = SITE == "localhost" or SITE == "127.0.0.1" or SITE.startswith("192.168.") +IS_LOCALHOST = SITE == "localhost" or SITE == "127.0.0.1" or SITE.startswith("192.168.") or SITE.endswith(".local") if IS_LOCALHOST: SITE_FULL = 'http://' + SITE else: SITE_FULL = 'https://' + SITE