qiwi / qorsproxy

Yet another cors proxy
MIT License
6 stars 3 forks source link

feat: provide `paths` predicate #124

Closed antongolub closed 4 months ago

antongolub commented 4 months ago
"rules": {
    "localhost": {
      "from": [      // localhost, 127.0.0.1, zone.local, etc
        "*"
      ],
      "to": [        // remote dest host
        "example.com"
      ],
      "paths": [     // ← applies the rule if the request matches to the one of given paths
        "/foo",
        "/bar"
      ],
      ...
sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud