这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@mraible
Copy link
Contributor

@mraible mraible commented Jul 5, 2023

Fixes jhipster/generator-jhipster-ionic#872.


Please make sure the below checklist is followed for Pull Requests.

<%_ } _%>
import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I talked with Rob Winch about this annotation, and he mentioned it's only needed when running in a non-Spring Boot app.

@mraible
Copy link
Contributor Author

mraible commented Jul 6, 2023

@DanielFran It seems like most CI failures are from front-end tests, not Java tests. This PR seems like it would only affect Java tests since CORS isn't used except with Ionic and React Native.

@DanielFran DanielFran merged commit 7845176 into main Jul 6, 2023
@DanielFran DanielFran deleted the cors-fix branch July 6, 2023 21:43
@DanielFran DanielFran added this to the 8.0.0-beta.2 milestone Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CORS Error

3 participants