From 9636e45bce0bd8053dc8a72d5dffd2a9f85ed969 Mon Sep 17 00:00:00 2001 From: Yuhuai Liu Date: Fri, 3 Nov 2023 10:41:52 -0400 Subject: [PATCH] Revert "route preprint assets requests to the preprint app" This reverts commit 012f87c9b9f30fe092eaac0704a75f94337b8849. --- website/routes.py | 3 --- 1 file changed, 3 deletions(-) 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