Commit bd0dea97 authored by René Schöne's avatar René Schöne
Browse files

Set base-href, and use HashLocationStrategy

parent cd1463e4
Pipeline #14599 passed with stage
in 9 seconds
......@@ -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,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment