Skip to content

Commit

Permalink
Merge pull request #573 from radicaldrew/master
Browse files Browse the repository at this point in the history
added option for base-href
  • Loading branch information
RFbkak37y3kIY committed Feb 14, 2022
2 parents 9da0309 + 153dc9c commit ac3b840
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ import { ChartsModule } from 'ng2-charts';
import { MarkdownModule } from 'ngx-markdown';
import { NgxDaterangepickerMd } from './components/controls/daterangepicker';
import { UpdateAlertComponent } from './components/controls/update-alert/update-alert.component';
import {APP_BASE_HREF} from '@angular/common';
import {
NgxMatDatetimePickerModule,
NgxMatNativeDateModule,
Expand Down Expand Up @@ -460,6 +461,7 @@ export const CUSTOM_MAT_COLOR_FORMATS: MatColorFormats = {
{ provide: ACE_CONFIG, useValue: DEFAULT_ACE_CONFIG },
{ provide: MAT_COLOR_FORMATS, useValue: CUSTOM_MAT_COLOR_FORMATS },
{ provide: PreferencesContentMapping, useClass: PreferencesContentMapping },
{ provide: APP_BASE_HREF, useValue: window['base-href'] },
TransactionFilterService
],
bootstrap: [AppComponent]
Expand Down
3 changes: 3 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<title>HOMER</title>
<meta http-equiv="Access-Control-Allow-Origin" content="*">
<meta name="viewport" content="width=device-width, initial-scale=0.8, maximum-scale=1.0, user-scalable=no" />
<script>
window['base-href'] = window.location.pathname;
</script>
<style type="text/css">
@keyframes rot001 {
0% { stroke-dashoffset: 268.60617px; transform: rotate(0);
Expand Down

0 comments on commit ac3b840

Please sign in to comment.