feat(N/A): 配置dev环境的cors配置
This commit is contained in:
@@ -9,7 +9,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Profile;
|
||||
|
||||
@Configuration
|
||||
@Profile("dev1")
|
||||
@Profile("dev")
|
||||
public class SaTokenDevFilterConfig {
|
||||
|
||||
@Bean
|
||||
@@ -23,7 +23,6 @@ public class SaTokenDevFilterConfig {
|
||||
SaRouter.back();
|
||||
}
|
||||
})
|
||||
.setAuth(obj -> {
|
||||
});
|
||||
.setAuth(obj -> {});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user