Skip to content

Commit 3bc171d

Browse files
committed
Fix example indentation
1 parent ceb0280 commit 3bc171d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
1) create a json file called tokens.json in a folder called srh-config (`srh-config/tokens.json`)
99
2) paste this in:
1010
```json
11-
{
11+
{
1212
"example_token": {
1313
"srh_id": "some_unique_identifier",
1414
"connection_string": "redis://localhost:6379",
1515
"max_connections": 3
1616
}
17-
}
17+
}
1818
```
1919
3) Run this command:
2020
`docker run -it -d -p 8079:80 --name srh --mount type=bind,source=$(pwd)/srh-config/tokens.json,target=/app/srh-config/tokens.json hiett/serverless-redis-http:latest`
@@ -23,8 +23,8 @@
2323
import {Redis} from '@upstash/redis';
2424

2525
export const redis = new Redis({
26-
url: "http://localhost:8079",
27-
token: "example_token",
26+
url: "http://localhost:8079",
27+
token: "example_token",
2828
responseEncoding: false, // IMPORTANT: Upstash has recently added response encoding, but SRH does not support it yet.
2929
});
3030
```

0 commit comments

Comments
 (0)