Skip to content

Commit 21b3f70

Browse files
committed
feat:remove appsetting
1 parent c2a81fe commit 21b3f70

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/WebStarter/WebStarter.csproj

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
<ImplicitUsings>enable</ImplicitUsings>
77
<AspNetCoreHostingModel>OutOfProcess</AspNetCoreHostingModel>
88
<UserSecretsId>4fb8c9df-7975-4926-ba73-46c8ca440691</UserSecretsId>
9-
<ContainerRepository>botsharpwebapi</ContainerRepository>
10-
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
119
</PropertyGroup>
1210

1311
<ItemGroup Condition="$(SolutionName)==PizzaBot">
@@ -32,7 +30,7 @@
3230
<ProjectReference Include="..\Plugins\BotSharp.Plugin.Dashboard\BotSharp.Plugin.Dashboard.csproj" />
3331
</ItemGroup>
3432

35-
<ItemGroup>
33+
<ItemGroup Condition="$(SolutionName)==BotSharp">
3634
<ProjectReference Include="..\Infrastructure\BotSharp.Core\BotSharp.Core.csproj" />
3735
<ProjectReference Include="..\Infrastructure\BotSharp.Logger\BotSharp.Logger.csproj" />
3836
<ProjectReference Include="..\Infrastructure\BotSharp.OpenAPI\BotSharp.OpenAPI.csproj" />
@@ -61,4 +59,4 @@
6159
<Folder Include="Properties\PublishProfiles\" />
6260
</ItemGroup>
6361

64-
</Project>
62+
</Project>

src/WebStarter/appsettings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@
161161
},
162162

163163
"Database": {
164-
"Default": "MongoRepository",
164+
"Default": "FileRepository",
165165
"TablePrefix": "BotSharp",
166-
"BotSharpMongoDb": "mongodb://root:admin@localhost:27017/botsharp?authSource=admin",
166+
"BotSharpMongoDb": "",
167167
"FileRepository": "data",
168168
"Assemblies": [ "BotSharp.Core" ]
169169
},

0 commit comments

Comments
 (0)