Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
JastAdd
RagDoc View
Commits
bd0dea97
Commit
bd0dea97
authored
Sep 09, 2022
by
René Schöne
Browse files
Set base-href, and use HashLocationStrategy
parent
cd1463e4
Pipeline
#14599
passed with stage
in 9 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
bd0dea97
...
...
@@ -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
[""]
build-view.sh
View file @
bd0dea97
#!/bin/sh
ng build
--base-href
.
--delete-output-path
=
false
$@
ng build
--base-href
${
BASE_HREF
:-
.
}
--delete-output-path
=
false
$@
src/app/app.module.ts
View file @
bd0dea97
...
...
@@ -29,7 +29,7 @@ import { AstDeclComponent } from './ast-decl/ast-decl.component';
path
:
'
source/:filename/:line
'
,
component
:
SourceViewComponent
}
]),
]
,
{
useHash
:
true
}
),
],
declarations
:
[
AppComponent
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment