Skip to content
Snippets Groups Projects
Commit bd0dea97 authored by René Schöne's avatar René Schöne
Browse files

Set base-href, and use HashLocationStrategy

parent cd1463e4
Branches ci master
No related tags found
No related merge requests found
Pipeline #14599 passed
......@@ -6,4 +6,5 @@ RUN npm install -g @angular/cli@11.1.1
VOLUME ["/data"]
VOLUME ["/dist"]
RUN chmod +x build-view.sh
ENTRYPOINT ["/bin/sh"]
ENV BASE_HREF="."
ENTRYPOINT [""]
#!/bin/sh
ng build --base-href . --delete-output-path=false $@
ng build --base-href ${BASE_HREF:-.} --delete-output-path=false $@
......@@ -29,7 +29,7 @@ import { AstDeclComponent } from './ast-decl/ast-decl.component';
path: 'source/:filename/:line',
component: SourceViewComponent
}
]),
], { useHash: true }),
],
declarations: [
AppComponent,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment