Skip to content

Commit f1ba4d0

Browse files
committed
add needed configs
1 parent f9fb066 commit f1ba4d0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ const config = {
1616
liveQuery: {
1717
classNames: [], // List of classes to support for query subscriptions
1818
},
19+
directAccess: true,
20+
enforcePrivateUsers: true,
21+
allowClientClassCreation: false,
1922
};
2023
// Client-keys like the javascript key or the .NET key are not necessary with parse-server
2124
// If you wish you require them, you can set them as options in the initialization above:
@@ -50,7 +53,7 @@ if (!process.env.TESTING) {
5053
const port = process.env.PORT || 1337;
5154
const httpServer = http.createServer(app);
5255
httpServer.listen(port, function () {
53-
console.log('parse-server-example running on port ' + port + '.');
56+
console.log('parse-server-example-ts running on port ' + port + '...');
5457
});
5558
// This will enable the Live Query real-time server
5659
ParseServer.createLiveQueryServer(httpServer);

0 commit comments

Comments
 (0)