fantonangeli opened a new pull request, #3353:
URL: https://github.com/apache/incubator-kie-tools/pull/3353

   Closes https://github.com/apache/incubator-kie-tools/issues/3349
   
   **Important:** This PR starts from and require 
https://github.com/apache/incubator-kie-tools/pull/3327 to be merged first.
   
   **Description:**
   Implement domains filtering to allow only a list of domain to be contacted.
   
   **How to test:**
   - download 
[test.sh](https://github.com/user-attachments/files/23614831/test.sh)
   - run the following commands:
   ```
   cd packages/sonataflow-dev-app
   CORS_DOMAIN=https://localhost:9020 SONATAFLOW_DEV_APP_DELAY=0 pnpm start
   --------------
   cd packages/cors-proxy
   CORS_PROXY__mode=production  CORS_PROXY__origin=http://localhost:9020 
CORS_PROXY__allowHosts="*.localdomain,*.github.com" pnpm start
   --------------
   sh test.sh
   ````
   - only the first request will be rejected


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to