Skip to content

Commit

Permalink
Revert "route preprint assets requests to the preprint app"
Browse files Browse the repository at this point in the history
This reverts commit 012f87c.
  • Loading branch information
adlius committed Nov 3, 2023
1 parent 012f87c commit 9636e45
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions website/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9636e45

Please sign in to comment.