Skip to content

Commit

Permalink
Added link for CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladik-gif committed Oct 20, 2024
1 parent 3745631 commit e70acee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ security.jwt.access-expiration=60m
security.jwt.refresh-expiration=10080m

#CORS
cors.allowed-origins=${CORS_ORIGINS:http://localhost:8080,http://localhost:5557,http://localhost:3000,http://85.235.140.66:8080/, *}
cors.allowed-origins=${CORS_ORIGINS:http://localhost:8080,http://localhost:5557,http://localhost:3000,\
http://85.235.140.66:8080/,http://10.11.0.100:3000}
cors.allowed-methods=GET, POST, PUT, PATCH, DELETE
cors.allowed-headers=*
cors.allow-credentials=true
Expand Down

0 comments on commit e70acee

Please sign in to comment.