Skip to content

Commit 11864ed

Browse files
committed
remove hardcoded cluster
1 parent 2941fe0 commit 11864ed

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

server/database/prisma.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@ stage: dev
99
secret: mysecret123
1010

1111
# the file path pointing to your data model
12-
datamodel: datamodel.graphql
13-
14-
cluster: public-puzzlecoyote-wing-957577/prisma-eu1
12+
datamodel: datamodel.graphql

server/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const server = new GraphQLServer({
1919
...req,
2020
db: new Prisma({
2121
typeDefs: 'src/generated/prisma.graphql',
22-
endpoint: "https://eu1.prisma.sh/public-puzzlecoyote-wing-957577/hackernews-graphql-js/dev",
22+
endpoint: "__PRISMA_ENDPOINT__",
2323
secret: 'mysecret123',
2424
}),
2525
}),

0 commit comments

Comments
 (0)