fix: record home page

This commit is contained in:
Shivam Mishra 2020-04-30 15:41:16 +05:30
parent 801e9d411b
commit 8ad2c08b5d

View file

@ -19,7 +19,7 @@ def make_view_log(path, referrer=None, browser=None, version=None, url=None, use
if referrer.startswith(url):
is_unique = False
if path.startswith('/'):
if path != "/" and path.startswith('/'):
path = path[1:]
if is_tracking_enabled():