Fixes issue with dotnet new template if you did not specify a connection string it was adding an empty one in appsettings.dev
This commit is contained in:
@@ -282,6 +282,10 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"HasConnectionString":{
|
||||
"type": "computed",
|
||||
"value": "(ConnectionString != \"\")"
|
||||
},
|
||||
"HasNoNodesViewPath":{
|
||||
"type": "computed",
|
||||
"value": "(NoNodesViewPath != \"\")"
|
||||
|
||||
@@ -17,9 +17,11 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
//#if (HasConnectionString)
|
||||
"ConnectionStrings": {
|
||||
"umbracoDbDSN": "CONNECTION_FROM_TEMPLATE"
|
||||
},
|
||||
//#endif
|
||||
"Umbraco": {
|
||||
"CMS": {
|
||||
"Content": {
|
||||
|
||||
Reference in New Issue
Block a user