You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/ci.yaml
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -91,8 +91,12 @@ jobs:
91
91
92
92
# start prod-app
93
93
- name: app:run in prod
94
+
env:
95
+
AUTH_ORIGIN: http://localhost:3000/api/auth
94
96
run: "cd my-sidebase-app && npm run build && timeout 30 npm run preview || ( [[ $? -eq 124 ]] && echo \"app started and did not exit within first 30 seconds, thats good\" )"
95
97
96
98
# start dev-app and curl from it
97
99
- name: app:test in prod
100
+
env:
101
+
AUTH_ORIGIN: http://localhost:3000/api/auth
98
102
run: "cd my-sidebase-app && timeout 30 npm run dev & (sleep 20 && curl --fail localhost:3000) || ( [[ $? -eq 124 ]] && echo \"app started and did not exit within first 30 seconds, thats good\" )"
Copy file name to clipboardExpand all lines: src/configs/prisma.ts
+21-20Lines changed: 21 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,12 @@ const prismaRootSchema = `// This is your Prisma schema file,
6
6
// learn more about it in the docs: https://pris.ly/d/prisma-schema
7
7
8
8
generator client {
9
-
provider = "prisma-client-js"
10
-
previewFeatures = ["prismaSchemaFolder"]
9
+
provider = "prisma-client"
10
+
output = "./client"
11
+
12
+
// NOTE: \`library\` will be deprecated in Prisma 7 where \`client\`, which is officially stable ("Generally Available") since Prisma 6.16, will become the new default.
13
+
// Nevertheless, at this time, there seem to be substantial problems with the \`client\` engine, forcing us to revert to \`library\`
0 commit comments