Skip to content

Commit

Permalink
Working Examples
Browse files Browse the repository at this point in the history
  • Loading branch information
awhiteside1 committed Sep 16, 2024
1 parent e8f8f1b commit 6b98cb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion playground/.env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Added by Payload
# Database connection string
DATABASE_URI=file:./playground.db
DATABASE_URI=file:./db/playground.db
# Used to encrypt JWT tokens
PAYLOAD_SECRET=5a9a296d283d03980a3110f3
# Used to format links and URLs
Expand Down
2 changes: 1 addition & 1 deletion playground/src/payload.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default buildConfig({
}),
db: sqliteAdapter({
client: {
url: process.env.DATABASE_URI || '',
url: process.env.DATABASE_URI || 'file:./db/playground.db',
},
}),
collections: [Pages, Posts, Media, Categories, Users],
Expand Down

0 comments on commit 6b98cb4

Please sign in to comment.