diff --git a/website/routes.py b/website/routes.py index e8532fb3577..787fe2e367b 100644 --- a/website/routes.py +++ b/website/routes.py @@ -261,9 +261,6 @@ def ember_app(path=None): if request.path.strip('/').startswith(k): ember_app = EXTERNAL_EMBER_APPS[k] if k == 'preprints': - if 'preprints/assets/' in request.path: - # Route preprint assets request to old preprint app - ember_app = EXTERNAL_EMBER_APPS.get('preprints', False) or ember_app if request.path.rstrip('/').endswith('edit'): # Route preprint edit pages to old preprint app ember_app = EXTERNAL_EMBER_APPS.get('preprints', False) or ember_app