2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-27 19:16:44 +00:00
Oliver 2025-04-22 12:29:11 +10:00 committed by GitHub
parent 0bf1ab250f
commit 527652007e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1024,6 +1024,7 @@ DATE_INPUT_FORMATS = ['%Y-%m-%d']
SITE_URL = get_setting('INVENTREE_SITE_URL', 'site_url', None)
if SITE_URL:
SITE_URL = str(SITE_URL).strip().rstrip('/')
logger.info('Using Site URL: %s', SITE_URL)
# Check that the site URL is valid