Fixed unwanted injection of variables on API endpoints.

pull/2045/head
morpheus65535 1 year ago
parent 5a98dfcf83
commit b0f743767b

@ -74,6 +74,8 @@ def catch_all(path):
updated = '0'
inject = dict()
if not path.startswith('api/'):
inject["baseUrl"] = base_url
inject["canUpdate"] = not args.no_update
inject["hasUpdate"] = updated != '0'

Loading…
Cancel
Save