Skip to content

Commit 42e4d94

Browse files
committed
update graohql config
1 parent b023dd6 commit 42e4d94

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

swa-db-connections/staticwebapp.database.config.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,28 @@
1818
"graphql": {
1919
"enabled": true,
2020
"path": "/graphql",
21-
"allow-introspection": true
21+
"allow-introspection": true,
22+
"depth-limit": 5
2223
},
2324
"host": {
2425
"cors": {
25-
"origins": ["http://localhost:5173/", "http://localhost:4280"],
26+
"origins": [
27+
"http://localhost:5173/",
28+
"http://localhost:4280"
29+
],
2630
"allow-credentials": false
2731
},
2832
"authentication": {
2933
"provider": "StaticWebApps"
3034
},
3135
"mode": "production"
36+
},
37+
"pagination": {
38+
"max-page-size": 1000,
39+
"default-page-size": 100
3240
}
3341
},
34-
"entities": {
42+
"entities": {
3543
"Engagement": {
3644
"source": {
3745
"object": "engagements"

0 commit comments

Comments
 (0)