Skip to content

Commit

Permalink
Fixed some spelling erros i README.md and fixed a vulnerabilitie
Browse files Browse the repository at this point in the history
  • Loading branch information
MikAoJk committed May 5, 2024
1 parent 94797da commit 2225e05
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ COPY resources /app/resources # additional resources
```

Check GitHub releases to find the latest `release` version
Check [Github releases](https://github.com/navikt/pdfgen/releases) to find the latest `release` version
Check [GitHub releases](https://github.com/navikt/pdfgen/releases) to find the latest `release` version

Set up the basic folder structure
```bash
Expand Down Expand Up @@ -67,7 +67,7 @@ The template and data directory structure both follow the `<application>/<templa
To enable HTML document support, use the environment variable `ENABLE_HTML_ENDPOINT=true`. This will enable the
HTML endpoints on `/api/v1/genhtml/<application>/<template>`.

By default pdfgen will load all assets (`templates`, `resources`, `data`) to memory on startup. Any change on files inside these folders will not be loaded before a restart of the application. However if you are developing templates you can make the application to reload the assets on every request by setting `DEV_MODE=true`.
By default, pdfgen will load all assets (`templates`, `resources`, `data`) to memory on startup. Any change on files inside these folders will not be loaded before a restart of the application. However if you are developing templates you can make the application to reload the assets on every request by setting `DEV_MODE=true`.

### Getting github package registry packages
Some packages used in this repo is uploaded to the GitHub Package Registry which requires authentication.
Expand Down
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ val verapdfVersion = "1.24.2"
val ktfmtVersion = "0.44"
val testcontainersVersion= "1.19.7"
val pdfgencoreVersion = "1.1.14"
val commonsCompressVersion = "1.26.1"


plugins {
Expand Down Expand Up @@ -113,6 +114,11 @@ dependencies {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")

testImplementation("org.testcontainers:testcontainers:$testcontainersVersion")
constraints {
implementation("org.apache.commons:commons-compress:$commonsCompressVersion") {
because("Due to vulnerabilities, see CVE-2024-26308")
}
}
testImplementation("io.ktor:ktor-client-cio:$ktorVersion")
testImplementation("io.ktor:ktor-client-content-negotiation:$ktorVersion")
}

0 comments on commit 2225e05

Please sign in to comment.