1
0
Files
yel-dspace-angular/src/app/core/url-combiner/ui-url-combiner.ts
2017-04-12 18:03:02 +02:00

15 lines
466 B
TypeScript

import { URLCombiner } from "./url-combiner";
import { GlobalConfig } from "../../../config";
/**
* Combines a variable number of strings representing parts
* of a relative UI URL in to a single, absolute UI URL
*
* TODO write tests once GlobalConfig becomes injectable
*/
export class UIURLCombiner extends URLCombiner{
constructor(EnvConfig: GlobalConfig, ...parts: Array<string>) {
super(EnvConfig.ui.baseUrl, EnvConfig.ui.nameSpace, ...parts);
}
}