Skip to content

Commit

Permalink
changed application.yml and application-prod.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MocStepan committed May 9, 2024
1 parent 1c168ac commit 7a92deb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions backend/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spring:
name: ${SECURITY_USERNAME}
password: ${SECURITY_PASSWORD}
jwt:
secure: false
sameSite: "Lax"
secure: true
sameSite: "none"
duration: 86400000 # 1 day
secret: ${JWT_SECRET}
secret: ${JWT_SECRET}
4 changes: 2 additions & 2 deletions backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spring:
show_sql: false
default_schema: public
jwt:
secure: false
sameSite: "Lax"
secure: true
sameSite: "none"
duration: 86400000 # 1 day
secret: "7A25432A462D4A614E645267556B58703272357538782F413F4428472B4B6250" # random string in base64, should be changed in production

0 comments on commit 7a92deb

Please sign in to comment.