itxaiohanglover opened a new pull request, #414: URL: https://github.com/apache/rocketmq-dashboard/pull/414
## What is the purpose of the change Fixes #410 The CORS allowed origin was hardcoded to `http://localhost:3003` in `SecurityConfig.java`, making it impossible to deploy in production environments with different frontend domains. ## Brief changelog - Added `@Value("${rocketmq.config.corsAllowedOrigins:http://localhost:3003}")` to make CORS origins configurable - Support comma-separated values for multiple origins - Added `corsAllowedOrigins` property to `application.yml` with documentation - Default value maintains backward compatibility ## Verifying this change Set `rocketmq.config.corsAllowedOrigins` in `application.yml` to verify different origins are accepted. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
