Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

CORS configuration per route #547

Open
BasvanH opened this issue Oct 19, 2021 · 1 comment
Open

CORS configuration per route #547

BasvanH opened this issue Oct 19, 2021 · 1 comment

Comments

@BasvanH
Copy link

BasvanH commented Oct 19, 2021

Hello,

We are building an app where we need to have a separate CORS configuration per route.

GET /api/forms/{form}
POST /api/forms/{form}

Depending on the form ID we need a corresponding CORS config to allow only a certain domain. Perhaps the settings will come from a DB table instead of the .ENV file.

Currently this package can't do this, but could you give me some directions on how to get this done?

Kind regards,
Bastiaan

@tmazza
Copy link

tmazza commented Jul 10, 2022

No updates here? Some way to do it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants