update app create config to accept libsql config directly

This commit is contained in:
dswbx committed 2025-02-12 09:21:51 +01:00
1 parent f466dd166d
commit 2c6a4d2bed
20 files changed
+59 -100

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ async function action(options: {
let app: App;
if (options.dbUrl || !configFilePath) {
const connection = options.dbUrl
? { type: "libsql" as const, config: { url: options.dbUrl, authToken: options.dbToken } }
? { url: options.dbUrl, authToken: options.dbToken }
: undefined;
app = await makeApp({ connection, server: { platform: options.server } });
} else {