Skip to content

Commit

Permalink
Merge branch 'deploy' of github.com:go-park-mail-ru/2023_2_Hamster in…
Browse files Browse the repository at this point in the history
…to deploy
  • Loading branch information
CodeMaster482 committed Nov 12, 2023
2 parents 8ed984f + bc409ca commit fd97747
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ services:
- "8080:8080"
volumes:
- ./.env:/docker-hammywallet/.env
- api-logs:/docker-hammywallet/logs
- ./api-logs:/docker-hammywallet/logs
- type: bind
source: /home/ubuntu/frontend/images
target: /images
depends_on:
- hammy-postgres
- hammy-redis
Expand Down
2 changes: 1 addition & 1 deletion internal/microservices/csrf/usecase/usecase.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

var tokenSecret = os.Getenv("SECRET")

const csrfTokenTTL = 30 * time.Minute
const csrfTokenTTL = time.Minute //30 * time.Minute
const jwtParsingMaxTime = 3 * time.Second

type Usecase struct {
Expand Down

0 comments on commit fd97747

Please sign in to comment.