Make base module and index.html file configurable with BASE_MODULE. Adding bare Liquid module.

This commit is contained in:
softsimon
2021-07-27 17:10:38 +03:00
parent 35881b2457
commit d7586af392
17 changed files with 420 additions and 20 deletions

View File

@@ -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;
}