rsnext/test/integration/production
William ec95927e14 Fix dynamic APIs with query params (#8386)
* Fix dynamic APIs with query params

If you define a dynamic API such as

```
pages/
  api/
    [id].js
```

This api becomes available at `/api/[id]`. If you send a request with
a query parameter the value of `req.query.id` will include the query
string as well as the path parameter.

E.g. the request to `/api/2?test=123` will result in `req.query`
being

```javascript
{
  id: "2?test=123",
  test: "123",
}
```

instead of

```javascript
{
  id: "2",
  test: "123",
}
```

* Fix url parse in serverless loader

* Add serverless test
2019-08-19 13:19:39 -04:00
..
components Format missed files (#7464) 2019-05-29 18:19:32 -07:00
pages Fix dynamic APIs with query params (#8386) 2019-08-19 13:19:39 -04:00
public Add support for /public (#7213) 2019-05-03 11:57:47 -05:00
static/data Fix the route redirect error when we've multiple path params. (#2652) 2017-07-26 22:31:49 +05:30
test Fix dynamic APIs with query params (#8386) 2019-08-19 13:19:39 -04:00
info.json Use our static file rendering machanism to serve pages. 2018-01-13 10:36:50 +05:30
next.config.js Experimentalize public/ (#7771) 2019-07-08 07:45:41 +02:00