File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
7
7
## Usage
8
8
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 ) .
10
10
11
11
``` sh
12
12
git clone
[email protected] :dsys/cleargraph.git
Original file line number Diff line number Diff line change 21
21
# If specified, the `secret` must be used to generate a JWT which is attached
22
22
# to the `Authorization` header of HTTP requests made against the Prisma API.
23
23
# Info: https://www.prisma.io/docs/reference/prisma-api/concepts-utee3eiquo#authentication
24
- # secret: ${env:PRISMA_SECRET}
24
+ secret : ${env:PRISMA_SECRET}
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ export function createContext(req): Context {
13
13
return {
14
14
db : new Prisma ( {
15
15
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`)
18
18
} ) ,
19
19
loaders : { web3 : createWeb3Loaders ( ) } ,
20
20
req
You can’t perform that action at this time.
0 commit comments