add .gitignore in template

This commit is contained in:
Aman Varshney
2025-03-20 15:34:15 +05:30
parent bcac7e25fa
commit e4f950c689
5 changed files with 15 additions and 8 deletions

View File

@@ -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";
}
}
}
}