Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #238 from Z-Jais/master
Browse files Browse the repository at this point in the history
Update OpenCV and allow credentials
  • Loading branch information
Ziedelth authored Jan 4, 2024
2 parents d842b5e + ddaee81 commit d8a0565
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
<dependency>
<groupId>org.openpnp</groupId>
<artifactId>opencv</artifactId>
<version>4.8.1-0</version>
<version>4.9.0-0</version>
</dependency>
<dependency>
<groupId>org.pf4j</groupId>
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/fr/ziedelth/plugins/HTTP.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ fun Application.configureHTTP(isDebug: Boolean = false) {

install(CORS) {
HttpMethod.DefaultMethods.forEach { allowMethod(it) }
allowCredentials = true
allowHeader(HttpHeaders.Authorization)
anyHost()
}
Expand Down

0 comments on commit d8a0565

Please sign in to comment.