irensaltali / serverlessapigateway

Serverless API Gateway
https://serverlessapigateway.com/
Other
62 stars 10 forks source link

Proxy should use only proxied part of url #25

Closed irensaltali closed 9 months ago

irensaltali commented 9 months ago

Example:

Server

{
    "alias": "x",
    "url": "https://x.serverlessapigateway.com"
}

Path

  {
      "method": "ANY",
      "path": "/path-starts-here/{.+}",
      "integration": {
          "type": "http_proxy",
          "server": "x"
      },
      "auth": false,
  }

Request:

curl --location 'https://serverlessapigateway.com/path-starts-here/ping'

This request should be proxied to https://x.serverlessapigateway.com/ping not https://x.serverlessapigateway.com/path-starts-here/ping

github-actions[bot] commented 9 months ago

:tada: This issue has been resolved in version 1.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: