Skip to content

Commit d9f6fa6

Browse files
committed
Update readme
1 parent 435b592 commit d9f6fa6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## Usage
88

9-
A hosted instance is available at [api.cleargraph.com](https://api.cleargraph.com).
9+
A hosted instance is available at [cleargraph.kern.io](https://cleargraph.kern.io).
1010

1111
```sh
1212
git clone [email protected]:dsys/cleargraph.git

database/prisma.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ seed:
2121
# If specified, the `secret` must be used to generate a JWT which is attached
2222
# to the `Authorization` header of HTTP requests made against the Prisma API.
2323
# Info: https://www.prisma.io/docs/reference/prisma-api/concepts-utee3eiquo#authentication
24-
# secret: ${env:PRISMA_SECRET}
24+
secret: ${env:PRISMA_SECRET}

database/seed.graphql

Whitespace-only changes.

src/context.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ export function createContext(req): Context {
1313
return {
1414
db: new Prisma({
1515
debug: true, // log all GraphQL queries & mutations sent to the Prisma API
16-
endpoint: process.env.PRISMA_ENDPOINT // the endpoint of the Prisma API (value set in `.env`)
17-
// secret: process.env.PRISMA_SECRET, // only needed if specified in `database/prisma.yml` (value set in `.env`)
16+
endpoint: process.env.PRISMA_ENDPOINT, // the endpoint of the Prisma API (value set in `.env`)
17+
secret: process.env.PRISMA_SECRET // only needed if specified in `database/prisma.yml` (value set in `.env`)
1818
}),
1919
loaders: { web3: createWeb3Loaders() },
2020
req

0 commit comments

Comments
 (0)