Spaces:
Sleeping
Sleeping
hiett
commited on
Commit
·
6da2031
1
Parent(s):
f1dc17e
changes to workflow, and using the direct container port
Browse files- example/src/index.ts +1 -1
example/src/index.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import {Redis} from "@upstash/redis";
|
2 |
|
3 |
const redis = new Redis({
|
4 |
-
url:
|
5 |
token: "example_token",
|
6 |
responseEncoding: false,
|
7 |
});
|
|
|
1 |
import {Redis} from "@upstash/redis";
|
2 |
|
3 |
const redis = new Redis({
|
4 |
+
url: process.env.REDIS_CONNECTION_URL,
|
5 |
token: "example_token",
|
6 |
responseEncoding: false,
|
7 |
});
|