Add appsettings.json to NopCommerce project! install reference packages; Implement endpoints; Fix CORS; etc...
This commit is contained in:
parent
a4787df61c
commit
6d6db38a54
|
|
@ -41,11 +41,15 @@
|
|||
|
||||
<!-- We copy the \Logs directory -->
|
||||
<Content Include="Logs\**" CopyToPublishDirectory="PreserveNewest" />
|
||||
<Content Remove="appsettings.json" />
|
||||
<None Remove="Plugins\Uploaded\placeholder.txt" />
|
||||
<Content Include="Plugins\Uploaded\placeholder.txt">
|
||||
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
||||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
||||
</Content>
|
||||
<None Include="appsettings.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
|
||||
<None Update="Areas\Admin\sitemap.config">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
|
||||
"AyCode": {
|
||||
"ProjectId": "f9f9383f-c459-4b9f-b0b5-201bd4a9c21b",
|
||||
"Urls": {
|
||||
"BaseUrl": "https://localhost:59579",
|
||||
"ApiBaseUrl": "https://localhost:59579"
|
||||
},
|
||||
"Logger": {
|
||||
"AppType": "Server",
|
||||
"LogLevel": "Detail",
|
||||
"LogWriters": [
|
||||
{
|
||||
"LogLevel": "Detail",
|
||||
"LogWriterType": "FruitBank.Common.Server.Services.Loggers.ConsoleLogWriter, FruitBank.Common.Server, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue