mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
add .gitignore in template
This commit is contained in:
@@ -40,12 +40,12 @@ export async function setupEnvironmentVariables(
|
||||
envContent += databaseUrlLine;
|
||||
}
|
||||
|
||||
if (
|
||||
options.database === "sqlite" &&
|
||||
options.turso &&
|
||||
!envContent.includes("TURSO_CONNECTION_URL")
|
||||
) {
|
||||
envContent += "\nTURSO_CONNECTION_URL=http://127.0.0.1:8080";
|
||||
if (options.database === "sqlite") {
|
||||
if (!envContent.includes("TURSO_CONNECTION_URL")) {
|
||||
if (!options.turso) {
|
||||
envContent += "\nTURSO_CONNECTION_URL=http://127.0.0.1:8080";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user