Skip to content

Commit bc7bff1

Browse files
authored
Update README.md
1 parent f1c1ee3 commit bc7bff1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: README.md

+9
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ As any other ember-cli add on, run:
1515
```
1616
ember install ember-batch-request
1717
```
18+
19+
### Setup
20+
21+
Since the [Rails middleware](https://github.com/Netflix/batch_request_api) depends on the url ```/api/v1/batch_sequential``` or ```/api/v1/batch_sequential```, please add the following config to environment.js
22+
23+
```
24+
ENV.apiNamespace = 'api/v1';
25+
ENV.apiBatchUrl = 'batch_parallel'; (or batch_sequential)
26+
```
1827

1928
### Usage
2029

0 commit comments

Comments
 (0)