80141: Add support for legacy bitstream download URLs

This commit is contained in:
Yana De Pauw
2021-06-18 16:47:20 +02:00
committed by Art Lowel
parent 0ee451f3d3
commit 5b869cce46
8 changed files with 390 additions and 38 deletions

View File

@@ -10,6 +10,11 @@ import { URLCombiner } from './core/url-combiner/url-combiner';
export const BITSTREAM_MODULE_PATH = 'bitstreams';
/**
* The bitstream module path to resolve XMLUI and JSPUI bitstream download URLs
*/
export const LEGACY_BITSTREAM_MODULE_PATH = 'bitstream';
export function getBitstreamModuleRoute() {
return `/${BITSTREAM_MODULE_PATH}`;
}