Skip to content

Commit 9ee6a74

Browse files
committed
permit all /api/application/**
1 parent a669eb0 commit 9ee6a74

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/kotlin/io/openfuture/api/config/SecurityConfig.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ class SecurityConfig(
3636
.antMatchers("/static/**").permitAll()
3737
.antMatchers("**.js").permitAll()
3838
.antMatchers("/widget/**").permitAll()
39-
.antMatchers("/api/**").access("hasIpAddress('${properties.cidr}') or hasIpAddress('${properties.openState}') or hasIpAddress('127.0.0.1') or hasIpAddress('0:0:0:0:0:0:0:1')")
40-
//.antMatchers("/api/application/wallet/**").access("hasIpAddress('127.0.0.1') or hasIpAddress('0:0:0:0:0:0:0:1')")
39+
.antMatchers("/api/application/**").permitAll()
40+
//.antMatchers("/api/**").access("hasIpAddress('${properties.cidr}') or hasIpAddress('${properties.openState}') or hasIpAddress('127.0.0.1') or hasIpAddress('0:0:0:0:0:0:0:1')")
4141
.anyRequest().authenticated()
4242

4343
.and()

0 commit comments

Comments
 (0)