fix(web): sqlite url needs file: prefix for libsql
Some checks failed
CI / Lint (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Broker tests (Postgres) (push) Has been cancelled
CI / Docker build (linux/amd64) (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-04-06 01:13:27 +01:00
parent 8bd8d1ff76
commit 03ca9f10d3

View File

@@ -22,7 +22,7 @@ export default buildConfig({
db: sqliteAdapter({ db: sqliteAdapter({
client: { client: {
url: process.env.PAYLOAD_DATABASE_URI || path.resolve(dirname, "payload.db"), url: process.env.PAYLOAD_DATABASE_URI || `file:${path.resolve(dirname, "payload.db")}`,
}, },
}), }),