Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
run: |
npm ci
npm run lint
npm run build:prod
npm prune --omit=dev --legacy-peer-deps

docker:
name: Publish Docker Image
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ COPY ./ /usr/local/app/
# Install all dependencies, both production and development, build, and remove dev dependencies
RUN npm ci && \
npm run build:prod && \
npm prune --omit=dev
npm prune --omit=dev --legacy-peer-deps

# ---------- Release ----------
FROM nginx:1.31.3-alpine-slim
FROM nginx:1.31.4-alpine-slim

# Copy nginx config file
RUN rm -rf /usr/share/nginx/html/* && rm -rf /etc/nginx/nginx.conf
Expand Down
19 changes: 10 additions & 9 deletions src/app/documentation-module/documentation.module.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import { NgModule, SecurityContext } from '@angular/core';
import { MarkdownModule, SANITIZE } from 'ngx-markdown';
import { provideMarkdown, SANITIZE } from 'ngx-markdown';
import { DocumentationRoutingModule } from './documentation.routing';

@NgModule({
imports: [
DocumentationRoutingModule,
MarkdownModule.forRoot({
sanitize: {
provide: SANITIZE,
useValue: SecurityContext.NONE
},
}),
MarkdownModule.forChild()
DocumentationRoutingModule
],
providers: [
provideMarkdown({
sanitize: {
provide: SANITIZE,
useValue: SecurityContext.NONE
},
})
]
})
export class DocumentationModuleModule { }