mirror of
https://github.com/hwanny1128/HGZero.git
synced 2025-12-06 09:06:24 +00:00
add cors host
This commit is contained in:
parent
52bcc3ac2e
commit
08998559e5
@ -31,7 +31,7 @@ public class SecurityConfig {
|
||||
|
||||
private final JwtTokenProvider jwtTokenProvider;
|
||||
|
||||
@Value("${cors.allowed-origins:http://localhost:*}")
|
||||
@Value("${cors.allowed-origins:http://localhost:*,http://hgzero.20.249.184.228.nip.io/*}")
|
||||
private String allowedOrigins;
|
||||
|
||||
@Bean
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user