Closed dep closed 2 years ago
To allow ports 3000 - 3009:
3000
3009
allow do if !Rails.env.production? origins "http://localhost:300*" resource '*', headers: :any, methods: [:post], credentials: true end end
I'd suggest closing this PR and open up the discussions tab on this repository. Then move questions like this to discussions.
@dep you should match origin using regular expressions instead.
To allow ports
3000
-3009
: