151. Test login - Part 4 - externalize enabled CORS origins (#18)

This commit is contained in:
Art
2021-09-19 22:41:21 +03:00
parent 18cb20083a
commit 53acf81262
4 changed files with 18 additions and 4 deletions

View File

@ -36,6 +36,8 @@ spring:
# add-mappings: false
app:
public-urls: /user/login,/user/register,/user/*/image/**,/user/image/**
cors:
allowed-origins: http://localhost:4200,https://localhost:4200
jwt:
secret: VeRy_5ecretP@55W0rd!
# secret: ${random.value} #Does not work - every time generates new value