Skip to content

Commit

Permalink
fix review
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimiega committed Nov 14, 2024
1 parent 752f3c0 commit 03b229c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*.zip
*.tar.gz
*.rar
*.pem

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
Expand Down
1 change: 0 additions & 1 deletion backend/authik/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ dependencies {
implementation(libs.commons.codec.commons.codec)
implementation(project(":foundation"))
testImplementation(project(":foundation-test"))
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.18.+")
}

val serviceName = "authik"
Expand Down
1 change: 1 addition & 0 deletions backend/foundation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ dependencies {

api(libs.jakarta.validation.jakarta.validation.api)
api(libs.com.fasterxml.jackson.core.jackson.databind)
api(libs.com.fasterxml.jackson.module.jackson.module.kotlin)

api(libs.org.jetbrains.kotlinx.kotlinx.coroutines.reactor)
api(libs.io.projectreactor.kotlin.reactor.kotlin.extensions)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import reactor.core.publisher.Mono

@Component
class CorsFilter : WebFilter {
// FIXME
override fun filter(ctx: ServerWebExchange, chain: WebFilterChain): Mono<Void> {
ctx.response.headers.add("Access-Control-Allow-Origin", "*")
ctx.response.headers.add("Access-Control-Allow-Methods", "GET, PUT, POST, DELETE, OPTIONS")
Expand Down
6 changes: 4 additions & 2 deletions backend/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ org-liquibase-liquibase-core = "4.29.2"
org-postgresql-postgresql = "42.7.4"
org-postgresql-r2dbc-postgresql = "1.0.7.RELEASE"

com-fasterxml-jackson-core-jackson-databind = "2.18.1"
com-fasterxml-jackson = "2.18.1"

jakarta-validation-jakarta-validation-api = "3.1.0"
commons-codec-commons-codec = "1.17.1"

Expand Down Expand Up @@ -44,7 +45,8 @@ io-jsonwebtoken-jjwt-impl = { module = "io.jsonwebtoken:jjwt-impl", version.ref
io-jsonwebtoken-jjwt-jackson = { module = "io.jsonwebtoken:jjwt-jackson", version.ref = "io-jsonwebtoken" }

jakarta-validation-jakarta-validation-api = { module = "jakarta.validation:jakarta.validation-api", version.ref = "jakarta-validation-jakarta-validation-api" }
com-fasterxml-jackson-core-jackson-databind = { module = "com.fasterxml.jackson.core:jackson-databind", version.ref = "com-fasterxml-jackson-core-jackson-databind" }
com-fasterxml-jackson-core-jackson-databind = { module = "com.fasterxml.jackson.core:jackson-databind", version.ref = "com-fasterxml-jackson" }
com-fasterxml-jackson-module-jackson-module-kotlin = { module = "com.fasterxml.jackson.module:jackson-module-kotlin", version.ref = "com-fasterxml-jackson" }
commons-codec-commons-codec = { module = "commons-codec:commons-codec", version.ref = "commons-codec-commons-codec" }

org-jetbrains-kotlinx-kotlinx-coroutines-reactor = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-reactor", version.ref = "org-jetbrains-kotlinx-kotlinx-coroutines" }
Expand Down
1 change: 0 additions & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ COPY dist ./dist

COPY vite.config.ts .


EXPOSE 443

CMD ["npm", "run", "preview"]

0 comments on commit 03b229c

Please sign in to comment.