Skip to content

Commit 1e8d3e8

Browse files
committed
feat: replace MemoryDriver with TursoDriver and update dependencies
1 parent 64939af commit 1e8d3e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

objectstack.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ export default {
116116
// App plugins: register app metadata as `app.*` services.
117117
// Must be before ObjectQLPlugin so services are available during start().
118118
projectTrackerPlugin,
119+
new AuthPlugin({
120+
secret: process.env.AUTH_SECRET || 'objectql-dev-secret-change-me-in-production',
121+
trustedOrigins: ['http://localhost:*'],
122+
}),
119123
// Upstream ObjectQLPlugin from @objectstack/objectql:
120124
// - Registers objectql, metadata, data, protocol services
121125
// - Discovers driver.* and app.* services and calls ql.registerApp()
@@ -127,10 +131,6 @@ export default {
127131
new ObjectQLSecurityPlugin({
128132
enableAudit: false
129133
}),
130-
new AuthPlugin({
131-
secret: process.env.AUTH_SECRET || 'objectql-dev-secret-change-me-in-production',
132-
trustedOrigins: ['http://localhost:*'],
133-
}),
134134
new GraphQLPlugin({
135135
basePath: '/graphql',
136136
introspection: true,

0 commit comments

Comments
 (0)