Make base module and index.html file configurable with BASE_MODULE. Adding bare Liquid module.
This commit is contained in:
@@ -11,6 +11,9 @@ export class RelativeUrlPipe implements PipeTransform {
|
||||
) { }
|
||||
|
||||
transform(value: string): string {
|
||||
if (this.stateService.env.BASE_MODULE !== 'mempool') {
|
||||
return '/' + value;
|
||||
}
|
||||
return (this.stateService.network ? '/' + this.stateService.network : '') + value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user