@netlify/dev 4.18.0 → 4.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.cjs +1 -0
- package/dist/main.js +1 -0
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -578,6 +578,7 @@ var NetlifyDev = class {
|
|
|
578
578
|
const db = new import_database_dev.NetlifyDB({ directory: dbDirectory });
|
|
579
579
|
const connectionString = await db.start();
|
|
580
580
|
runtime.env.set("NETLIFY_DB_URL", connectionString);
|
|
581
|
+
runtime.env.set("NETLIFY_DB_DRIVER", "server");
|
|
581
582
|
state.set("dbConnectionString", connectionString);
|
|
582
583
|
this.#db = db;
|
|
583
584
|
this.#cleanupJobs.push(async () => {
|
package/dist/main.js
CHANGED
|
@@ -549,6 +549,7 @@ var NetlifyDev = class {
|
|
|
549
549
|
const db = new NetlifyDB({ directory: dbDirectory });
|
|
550
550
|
const connectionString = await db.start();
|
|
551
551
|
runtime.env.set("NETLIFY_DB_URL", connectionString);
|
|
552
|
+
runtime.env.set("NETLIFY_DB_DRIVER", "server");
|
|
552
553
|
state.set("dbConnectionString", connectionString);
|
|
553
554
|
this.#db = db;
|
|
554
555
|
this.#cleanupJobs.push(async () => {
|